Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
FailTest that the www1 image is allowed to loadassert_unreached: www1 image should have loaded Reached unreachable code
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/content-security-policy/generic/directive-name-case-insensitive.sub.html:25:126)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2684:25)
    at HTMLImageElement.onerror (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/content-security-policy/generic/directive-name-case-insensitive.sub.html:25:108)
Asserts run
Fail
assert_unreached("www1 image should have loaded")
    at Test.<anonymous> ( /content-security-policy/generic/directive-name-case-insensitive.sub.html:25:126)
PassTest that the www2 image is not allowed to load
Asserts runNo asserts ran
FailTest that the www2 image throws a violation eventassert_equals: expected "http://www2.wpt.live:80/content-security-policy/support/fail.png" but got "https://www2.wpt.live/content-security-policy/support/fail.png"
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/content-security-policy/generic/directive-name-case-insensitive.sub.html:19:7)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2684:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2759:32
Asserts run
Pass
assert_equals("img-src", "img-src")
    at Test.<anonymous> ( /content-security-policy/generic/directive-name-case-insensitive.sub.html:18:7)
Fail
assert_equals("https://www2.wpt.live/content-security-policy/support/fail.png", "http://www2.wpt.live:80/content-security-policy/support/fail.png")
    at Test.<anonymous> ( /content-security-policy/generic/directive-name-case-insensitive.sub.html:19:7)