Content Security Policy suggests Security Policy Violation DOM Events [1]. In case any of the directives within a policy are violated, such a SecurityPolicyViolationEvent is generated and sent out to a reporting endpoint associated with the policy. We are working on implementing those violation events here [2] and plan to ship them within Firefox 59.
Thanks, Chung-Sheng Fu, Christoph Kerschbaumer [1] https://w3c.github.io/webappsec-csp/#violation-events [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1037335 _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform