Summary

Harness status: OK

Found 48 tests

Details

ResultTest NameMessage
PassScript: Same-origin with correct sha256 hash.
Asserts runNo asserts ran
PassScript: Same-origin with correct sha384 hash.
Asserts runNo asserts ran
PassScript: Same-origin with correct sha512 hash.
Asserts runNo asserts ran
PassScript: Same-origin with empty integrity.
Asserts runNo asserts ran
PassScript: Same-origin with non-Base64 hash.
Asserts runNo asserts ran
PassScript: Same-origin with incorrect hash.
Asserts runNo asserts ran
PassScript: Same-origin with incorrect integrity => cleared after prepare.
Asserts runNo asserts ran
PassScript: Same-origin with incorrect integrity => set to correct hash after prepare.
Asserts runNo asserts ran
PassScript: Same-origin with empty integrity => set to incorrect hash after prepare.
Asserts runNo asserts ran
PassScript: Same-origin with correct integrity => set to incorrect hash after prepare.
Asserts runNo asserts ran
PassScript: Same-origin with multiple sha256 hashes, including correct.
Asserts runNo asserts ran
PassScript: Same-origin with multiple sha256 hashes, including unknown algorithm.
Asserts runNo asserts ran
PassScript: Same-origin with sha256 mismatch, sha512 match
Asserts runNo asserts ran
PassScript: Same-origin with sha256 match, sha512 mismatch
Asserts runNo asserts ran
PassScript: <crossorigin='anonymous'> with correct hash, ACAO: *
Asserts runNo asserts ran
PassScript: <crossorigin='anonymous'> with incorrect hash, ACAO: *
Asserts runNo asserts ran
PassScript: <crossorigin='use-credentials'> with correct hash, CORS-eligible
Asserts runNo asserts ran
PassScript: <crossorigin='use-credentials'> with incorrect hash CORS-eligible
Asserts runNo asserts ran
PassScript: <crossorigin='anonymous'> with CORS-ineligible resource
Asserts runNo asserts ran
PassScript: Cross-origin, not CORS request, with correct hash
Asserts runNo asserts ran
PassScript: Cross-origin, not CORS request, with hash mismatch
Asserts runNo asserts ran
PassScript: Cross-origin, empty integrity
Asserts runNo asserts ran
PassScript: Same-origin with correct hash, options.
Asserts runNo asserts ran
PassScript: Same-origin with unknown algorithm only.
Asserts runNo asserts ran
FailStyle: Same-origin with correct sha256 hashassert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
FailStyle: Same-origin with correct sha384 hashassert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
FailStyle: Same-origin with correct sha512 hashassert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
FailStyle: Same-origin with empty integrityassert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
FailStyle: Same-origin with non-Base64 integrityassert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
PassStyle: Same-origin with incorrect hash.
Asserts run
Pass
assert_not_equals("rgba(0, 0, 0, 0)", "rgb(255, 255, 0)")
    at Test.<anonymous> ( /resources/sriharness.js:217:17)
FailStyle: Same-origin with multiple sha256 hashes, including correct.assert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
FailStyle: Same-origin with multiple sha256 hashes, including unknown algorithm.assert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
FailStyle: Same-origin with sha256 mismatch, sha512 matchassert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
PassStyle: Same-origin with sha256 match, sha512 mismatch
Asserts run
Pass
assert_not_equals("rgba(0, 0, 0, 0)", "rgb(255, 255, 0)")
    at Test.<anonymous> ( /resources/sriharness.js:217:17)
FailStyle: <crossorigin='anonymous'> with correct hash, ACAO: *assert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
PassStyle: <crossorigin='anonymous'> with incorrect hash, ACAO: *
Asserts run
Pass
assert_not_equals("rgba(0, 0, 0, 0)", "rgb(255, 255, 0)")
    at Test.<anonymous> ( /resources/sriharness.js:217:17)
FailStyle: <crossorigin='use-credentials'> with correct hash, CORS-eligibleassert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
PassStyle: <crossorigin='use-credentials'> with incorrect hash CORS-eligible
Asserts run
Pass
assert_not_equals("rgba(0, 0, 0, 0)", "rgb(255, 255, 0)")
    at Test.<anonymous> ( /resources/sriharness.js:217:17)
PassStyle: <crossorigin='anonymous'> with CORS-ineligible resource
Asserts run
Pass
assert_not_equals("rgba(0, 0, 0, 0)", "rgb(255, 255, 0)")
    at Test.<anonymous> ( /resources/sriharness.js:217:17)
PassStyle: Cross-origin, not CORS request, with correct hash
Asserts run
Pass
assert_not_equals("rgba(0, 0, 0, 0)", "rgb(255, 255, 0)")
    at Test.<anonymous> ( /resources/sriharness.js:217:17)
PassStyle: Cross-origin, not CORS request, with hash mismatch
Asserts run
Pass
assert_not_equals("rgba(0, 0, 0, 0)", "rgb(255, 255, 0)")
    at Test.<anonymous> ( /resources/sriharness.js:217:17)
FailStyle: Cross-origin, empty integrityassert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
FailStyle: Same-origin with correct hash, options.assert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
FailStyle: Same-origin with unknown algorithm only.assert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
FailStyle: Same-origin with correct sha256 hash, rel='stylesheet license'assert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
FailStyle: Same-origin with correct sha256 hash, rel='license stylesheet'assert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
FailStyle: Same-origin with correct sha256 and sha512 hash, rel='alternate stylesheet' enabledassert_unreached: Good load fired error handler. Reached unreachable code
    at Test.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:35)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at HTMLLinkElement.<anonymous> (https://www1.wpt.live/resources/sriharness.js:208:18)
Asserts run
Fail
assert_unreached("Good load fired error handler.")
    at Test.<anonymous> ( /resources/sriharness.js:208:35)
PassStyle: Same-origin with incorrect sha256 and sha512 hash, rel='alternate stylesheet' enabled
Asserts run
Pass
assert_not_equals("rgba(0, 0, 0, 0)", "rgb(255, 255, 0)")
    at Test.<anonymous> ( /resources/sriharness.js:217:17)