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
1 mentions to check reports to determine whether CSPs prevented script from running. 1 existed already in the year 2017, when securitypolicyviolation events weren't supported 2 by all major browser engines.
Using such events seems simpler for some test scenarios.
1 mentions to check reports to determine whether CSPs prevented script from running. 1 existed already in the year 2017, when
securitypolicyviolation
events weren't supported 2 by all major browser engines.Using such events seems simpler for some test scenarios.
Footnotes
https://searchfox.org/mozilla-central/rev/6050bf4eca89956c9d91bfd89fa59294ae32a689/testing/web-platform/tests/content-security-policy/README.html#29-30 ↩ ↩2
https://developer.mozilla.org/en-US/docs/Web/API/Element/securitypolicyviolation_event#browser_compatibility ↩
The text was updated successfully, but these errors were encountered: