abc

Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
PassTrusted Type violation report-only: assign string to script url
Asserts run
Pass
assert_equals(1, 1, "a single violation reported")
    at trusted_type_violation_without_exception_for ( /trusted-types/support/csp-violations.js:74:3)
Pass
assert_equals(null, null, "no exception thrown")
    at trusted_type_violation_without_exception_for ( /trusted-types/support/csp-violations.js:75:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /trusted-types/trusted-types-report-only.html:33:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /trusted-types/trusted-types-report-only.html:34:5)
PassTrusted Type violation report-only: assign string to html
Asserts run
Pass
assert_equals(1, 1, "a single violation reported")
    at trusted_type_violation_without_exception_for ( /trusted-types/support/csp-violations.js:74:3)
Pass
assert_equals(null, null, "no exception thrown")
    at trusted_type_violation_without_exception_for ( /trusted-types/support/csp-violations.js:75:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /trusted-types/trusted-types-report-only.html:41:5)
Pass
assert_equals("abc", "abc")
    at Test.<anonymous> ( /trusted-types/trusted-types-report-only.html:42:5)
PassTrusted Type violation report-only: assign string to script.src
Asserts run
Pass
assert_equals(1, 1, "a single violation reported")
    at trusted_type_violation_without_exception_for ( /trusted-types/support/csp-violations.js:74:3)
Pass
assert_equals(null, null, "no exception thrown")
    at trusted_type_violation_without_exception_for ( /trusted-types/support/csp-violations.js:75:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /trusted-types/trusted-types-report-only.html:49:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /trusted-types/trusted-types-report-only.html:50:5)
PassTrusted Type violation report-only: assign string to script content
Asserts run
Pass
assert_equals(1, 1, "a single violation reported")
    at trusted_type_violation_without_exception_for ( /trusted-types/support/csp-violations.js:74:3)
Pass
assert_equals(null, null, "no exception thrown")
    at trusted_type_violation_without_exception_for ( /trusted-types/support/csp-violations.js:75:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /trusted-types/trusted-types-report-only.html:57:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /trusted-types/trusted-types-report-only.html:58:5)
PassTrusted Type violation report: check report contents
Asserts run
Pass
assert_equals(1, 1, "a single violation reported")
    at trusted_type_violation_without_exception_for ( /trusted-types/support/csp-violations.js:74:3)
Pass
assert_equals(null, null, "no exception thrown")
    at trusted_type_violation_without_exception_for ( /trusted-types/support/csp-violations.js:75:3)
Pass
assert_equals("https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/trusted-types-report-only.html", "https://xn--n8j6ds53lwwkrqhv28a.wpt.live/trusted-types/trusted-types-report-only.html")
    at Test.<anonymous> ( /trusted-types/trusted-types-report-only.html:65:5)
Pass
assert_equals("report", "report")
    at Test.<anonymous> ( /trusted-types/trusted-types-report-only.html:66:5)
Pass
assert_equals("require-trusted-types-for", "require-trusted-types-for")
    at Test.<anonymous> ( /trusted-types/trusted-types-report-only.html:67:5)
Pass
assert_equals("require-trusted-types-for", "require-trusted-types-for")
    at Test.<anonymous> ( /trusted-types/trusted-types-report-only.html:68:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /trusted-types/trusted-types-report-only.html:69:5)