Setup function in a service worker

This test assumes that the browser supports ServiceWorkers.

Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
PassBrowser supports ServiceWorker
Asserts run
Pass
assert_true(true, "navigator.serviceWorker exists")
    at Test.<anonymous> ( /resources/test/tests/functional/setup-worker-service.html:15:5)
FailRegister ServiceWorkerpromise_test: Unhandled rejection with value: object "TypeError: Cannot read properties of undefined (reading 'unregister')"
Error
    at get_stack (https://wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://wpt.live/resources/testharness.js:4564:22)
    at assert (https://wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://wpt.live/resources/testharness.js:764:29)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at https://wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran