This is a testharness.js-based test. FAIL controller is set upon reload after registration promise_test: Unhandled rejection with value: object "TypeError: Cannot read property 'active' assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of undefined" the current origin ('file://') is not supported. Reached unreachable code Harness: the test ran to completion.