idlharness.window.js (361B)
1 // META: script=/resources/WebIDLParser.js 2 // META: script=/resources/idlharness.js 3 4 // https://w3c.github.io/webappsec-csp/ 5 6 'use strict'; 7 8 idl_test( 9 ['CSP'], 10 ['dom', 'reporting'], 11 idl_array => { 12 idl_array.add_objects({ 13 SecurityPolicyViolationEvent: [ 14 'new SecurityPolicyViolationEvent("securitypolicyviolation")' 15 ] 16 }) 17 } 18 );