You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Safari doesn't log content security policy violations because it doesn't emit the securitypolicyviolation on the window object, only on the document object. Rollbar JS only listens on the window object:
You can also test this in a real-life scenario, events are logged when you attach them to document but not on window in Safari (works in Chrome). In the below example nothing is showing in the Rollbar dashboard but logged to console:
The text was updated successfully, but these errors were encountered:
Safari doesn't log content security policy violations because it doesn't emit the securitypolicyviolation on the window object, only on the document object. Rollbar JS only listens on the window object:
this.addListener("contentsecuritypolicy", this._window, "securitypolicyviolation", null, t, !1)
rollbar.js/src/browser/telemetry.js
Line 741 in a9c567c
Confirmed in MDN Browser compatibility data mdn/browser-compat-data#12334
You can also test this in a real-life scenario, events are logged when you attach them to document but not on window in Safari (works in Chrome). In the below example nothing is showing in the Rollbar dashboard but logged to console:
The text was updated successfully, but these errors were encountered: