Files
firefox/testing/web-platform/tests/server-timing/service_worker_idl.https.html
T
Charles Vazac f548a89c09 Bug 1503355 [wpt PR 13789] - Make Server-Timing tests more resilient, a=testonly
Automatic update from web-platform-testsMake Server-Timing tests more resilient (#13789)

--

wpt-commits: 5c95adc476aa7273b152d2468b5e71b42757f007
wpt-pr: 13789
2018-11-10 09:03:09 +00:00

19 lines
561 B
HTML

<!DOCTYPE html>
<head>
<meta charset='utf-8' />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
(async () => {
const scope = 'does/not/exist'
let registration = await navigator.serviceWorker.getRegistration(scope)
if (registration)
await registration.unregister()
registration = await navigator.serviceWorker.register('./sw.js', {scope})
fetch_tests_from_worker(registration.installing)
})()
</script>
</head>