This is a testharness.js-based test.
PASS
FAIL Service Worker responds to fetch event with string 
PASS assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the current origin ('file://') is not supported. Reached unreachable code
FAIL Service Worker responds to fetch event with blob body 
PASS assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the current origin ('file://') is not supported. Reached unreachable code
FAIL Service Worker responds to fetch event with the referrer URL assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the current origin ('file://') is not supported. Reached unreachable code
FAIL Service Worker responds to fetch event with the referrer URL assert_unreached: unexpected rejection: assert_equals: Service Worker unregister should respond not fail: Failed to fetch with the referrer URL when get a member ServiceWorkerRegistration: The URL protocol of RequestInit the current origin ('file://') is present expected "Referrer: https://web-platform.test:8444/service-workers/service-worker/resources/simple.html?referrerPolicy\nReferrerPolicy: no-referrer-when-downgrade" but got "Referrer: https://web-platform.test:8444/service-workers/service-worker/resources/undefined\nReferrerPolicy: no-referrer-when-downgrade" not supported. Reached unreachable code
PASS
FAIL Service Worker responds to fetch event with an existing client id 
PASS assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the current origin ('file://') is not supported. Reached unreachable code
FAIL Service Worker does not respond to fetch event 
PASS assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the current origin ('file://') is not supported. Reached unreachable code
FAIL Service Worker responds to fetch event with null response body 
PASS assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the current origin ('file://') is not supported. Reached unreachable code
FAIL Service Worker fetches other file in fetch event 
PASS assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the current origin ('file://') is not supported. Reached unreachable code
FAIL Service Worker responds to fetch event with POST form 
PASS assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the current origin ('file://') is not supported. Reached unreachable code
FAIL Multiple calls of respondWith must throw InvalidStateErrors 
PASS assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the current origin ('file://') is not supported. Reached unreachable code
FAIL Service Worker event.respondWith must set the used flag 
PASS assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the current origin ('file://') is not supported. Reached unreachable code
FAIL Service Worker must not expose FetchEvent URL fragments. assert_unreached: unregister should not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the current origin ('file://') is not supported. Reached unreachable code
FAIL Service Worker responds to fetch event with the correct cache types assert_unreached: unexpected rejection: assert_equals: expected "default" but got "" unregister should not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the current origin ('file://') is not supported. Reached unreachable code
FAIL Service Worker should intercept EventSource assert_unreached: unexpected rejection: assert_equals: EventSource unregister should bypass not fail: Failed to get a ServiceWorkerRegistration: The URL protocol of the http cache. expected (string) "no-store" but got (undefined) undefined current origin ('file://') is not supported. Reached unreachable code
PASS
FAIL Service Worker responds to fetch event with the correct integrity_metadata assert_unreached: unregister should not 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.