summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/content-security-policy/securitypolicyviolation/idlharness.window.js
blob: 25efd0d4e1f5224cda5a74457e801d84777bbcb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js

// https://w3c.github.io/webappsec-csp/

'use strict';

idl_test(
  ['CSP'],
  ['dom', 'reporting'],
  idl_array => {
    idl_array.add_objects({
      SecurityPolicyViolationEvent: [
        'new SecurityPolicyViolationEvent("securitypolicyviolation")'
      ]
    })
  }
);