Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
PassCan create policy with name 'SomeName'
Asserts runNo asserts ran
PassCannot create policy with name 'default' - policy creation throws
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "_ => {       window.trustedTypes.createPolicy('default', { createHTML: s => s } );     }")
    at Test.<anonymous> ( /trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none-none-name.html:13:5)