Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
PassCannot create policy with name 'SomeName' - policy creation throws
Asserts run
Pass
assert_equals(1, 1, "a single violation reported")
    at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:58:3)
Pass
assert_true(true, "TypeError exception reported")
    at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:59:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none.html:15:5)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("SomeName", "SomeName")
    at Test.<anonymous> ( /trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none.html:16:5)
PassCannot create policy with name 'default' - policy creation throws
Asserts run
Pass
assert_equals(1, 1, "a single violation reported")
    at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:58:3)
Pass
assert_true(true, "TypeError exception reported")
    at trusted_type_violation_for ( /trusted-types/support/csp-violations.js:59:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none.html:24:5)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("default", "default")
    at Test.<anonymous> ( /trusted-types/TrustedTypePolicyFactory-createPolicy-cspTests-none.html:25:5)