test wildcard host name matching (asterisk as a subdomain of the current domain)

Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
FailTest that script does not fire violation eventassert_unreached: Should not have fired a violation event Reached unreachable code
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4617:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4610:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4594:19)
    at assert_unreached (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2438:10)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2777:13)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2684:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2731:35
Asserts runNo asserts ran
FailWildcard host matching works.assert_true: Script should have ran. expected true got false
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/content-security-policy/generic/wildcardHostTest.js:5:9)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2684:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at onload (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/content-security-policy/generic/wildcardHostTest.js:4:3)
Asserts run
Fail
assert_true(false, "Script should have ran.")
    at Test.<anonymous> ( /content-security-policy/generic/wildcardHostTest.js:5:9)