Harness status: OK
Found 1 tests
Result | Test Name | Message | ||
---|---|---|---|---|
Fail | resolving broken url | assert_throws_dom: function "() => {
const worker = new SharedWorker('http://foo bar');
}" threw object "SecurityError: Failed to construct 'SharedWorker': Script at 'http://foo%20bar/' cannot be accessed from origin 'https://wpt.live'." that is not a DOMException SyntaxError: property "code" is equal to 18, expected 12at Test.<anonymous> (https://wpt.live/workers/constructors/SharedWorker/unresolvable-url.html:8:3) at Test.step (https://wpt.live/resources/testharness.js:2642:25) at test (https://wpt.live/resources/testharness.js:633:30) at https://wpt.live/workers/constructors/SharedWorker/unresolvable-url.html:7:1 Asserts run
|