This is a testharness.js-based test. FAIL controller is cleared on disconnected window assert_equals: disconnected frame assert_unreached: unregister should not be controlled expected null but got object "[object ServiceWorker]" fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the current origin ('file://') is not supported. Reached unreachable code Harness: the test ran to completion.