Summary

Harness status: OK

Found 12 tests

Details

ResultTest NameMessage
PassClipping of violation sample for createPolicy(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA)
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 'none'", "trusted-types 'none'")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:27:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:28:7)
PassClipping of violation sample for Element.innerHTML = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
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("require-trusted-types-for 'script'", "require-trusted-types-for 'script'")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:35:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("Element innerHTML|AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "Element innerHTML|AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:36:7)
PassClipping of violation sample for createPolicy(BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB)
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 'none'", "trusted-types 'none'")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:27:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:28:7)
PassClipping of violation sample for Element.innerHTML = "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"
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("require-trusted-types-for 'script'", "require-trusted-types-for 'script'")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:35:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("Element innerHTML|BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", "Element innerHTML|BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:36:7)
PassClipping of violation sample for createPolicy(CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC)
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 'none'", "trusted-types 'none'")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:27:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:28:7)
PassClipping of violation sample for Element.innerHTML = "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"
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("require-trusted-types-for 'script'", "require-trusted-types-for 'script'")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:35:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("Element innerHTML|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "Element innerHTML|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:36:7)
PassClipping of violation sample for createPolicy(ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ)
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 'none'", "trusted-types 'none'")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:27:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ", "ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:28:7)
PassClipping of violation sample for Element.innerHTML = "ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ"
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("require-trusted-types-for 'script'", "require-trusted-types-for 'script'")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:35:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("Element innerHTML|ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ", "Element innerHTML|ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:36:7)
PassClipping of violation sample for createPolicy(ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ)
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 'none'", "trusted-types 'none'")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:27:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ", "ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:28:7)
PassClipping of violation sample for Element.innerHTML = "ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ"
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("require-trusted-types-for 'script'", "require-trusted-types-for 'script'")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:35:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("Element innerHTML|ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ", "Element innerHTML|ÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉÉ")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:36:7)
PassClipping of violation sample for createPolicy(℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉)
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 'none'", "trusted-types 'none'")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:27:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉", "℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:28:7)
PassClipping of violation sample for Element.innerHTML = "℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉"
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("require-trusted-types-for 'script'", "require-trusted-types-for 'script'")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:35:7)
Pass
assert_equals(null, null)
    at clipSampleIfNeeded ( /trusted-types/support/csp-violations.js:85:3)
Pass
assert_equals("Element innerHTML|℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉", "Element innerHTML|℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉℉")
    at Test.<anonymous> ( /trusted-types/trusted-types-reporting-clipping-of-sample.html:36:7)