Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
FailNo violation reported for write() with TrustedHTML arguments.assert_equals: no violation reported expected 0 but got 1
    at no_trusted_type_violation_for (https://www1.wpt.live/trusted-types/support/csp-violations.js:67:3)
    at async Test.<anonymous> (https://www1.wpt.live/trusted-types/trusted-types-reporting-for-Document-write.html:24:9)
Asserts run
Fail
assert_equals(1, 0, "no violation reported")
    at no_trusted_type_violation_for ( /trusted-types/support/csp-violations.js:67:3)
PassViolation report for plain string for write() with at least one plain string argument.
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_equals("trusted-types-sink", "trusted-types-sink")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-for-Document-write.html:33:9)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("Document write|<p>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "Document write|<p>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-for-Document-write.html:34:9)
FailNo violation reported for writeln() with TrustedHTML arguments.assert_equals: no violation reported expected 0 but got 1
    at no_trusted_type_violation_for (https://www1.wpt.live/trusted-types/support/csp-violations.js:67:3)
    at async Test.<anonymous> (https://www1.wpt.live/trusted-types/trusted-types-reporting-for-Document-write.html:24:9)
Asserts run
Fail
assert_equals(1, 0, "no violation reported")
    at no_trusted_type_violation_for ( /trusted-types/support/csp-violations.js:67:3)
PassViolation report for plain string for writeln() with at least one plain string argument.
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_equals("trusted-types-sink", "trusted-types-sink")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-for-Document-write.html:33:9)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("Document writeln|<p>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "Document writeln|<p>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-for-Document-write.html:34:9)