Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassCreate SharedWorker via ScriptTestUrl
Asserts runNo asserts ran
PassBlock SharedWorker creation via string
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new SharedWorker(test_url)")
    at Test.<anonymous> ( /trusted-types/SharedWorker-constructor.https.html:25:3)
PassCreate SharedWorker via string with default policy.
Asserts run
Pass
assert_equals("TrustedScriptURL", "TrustedScriptURL")
    at Test.<anonymous> ( /trusted-types/SharedWorker-constructor.https.html:47:3)
Pass
assert_equals("SharedWorker constructor", "SharedWorker constructor")
    at Test.<anonymous> ( /trusted-types/SharedWorker-constructor.https.html:48:3)