On Fri, Nov 17, 2017 at 6:01 PM, James Graham <ja...@hoppipolla.co.uk> wrote:
> On 17/11/17 05:55, Chung-Sheng Fu wrote: > >> 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. >> > > Do we have cross-browser (i.e. web-platform) tests covering this feature? Yes we do. The web-platform tests are in the folder testing/web-platform/meta/content-security-policy/. Bug 1037335 <https://bugzilla.mozilla.org/show_bug.cgi?id=1037335> added several tests for this feature and modified a bunch of tests to make them fit in it. - Ethan Tseng _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform