-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logging errors to rollbar from service worker script in chrome extension with manifest v3 does not work #1040
Comments
I'm having similar problems:
|
As I understand for now is that rollbarjs uses Line 3452 in c2c5310
|
Thank you for these reports. We're working on this and aiming to have a release by Nov 30. |
@waltjones That's great to hear, also ran into this blocker with our MV3 chrome extension. In the meantime, others may be able to workaround this by using apple502j/xhr-shim to "polyfill" XHR back into your service worker. |
This has been released now in v2.26.0. |
Logging errors to rollbar from the service worker script within a chrome extension does not work.
Does anyone have the same issues regarding building a chrome extension with manifest v3 and has found a solution?
We investigated this issue but didn't get further. In manifest v3, instead of background pages, service workers are used which don't have access to the DOM. But it seems like rollbar still depends on the window global #141. The UMD version of Rollbar didn't fix this issue. Therefore it might also be related to updated security configurations?
The text was updated successfully, but these errors were encountered: