mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-26 13:27:27 +00:00
41 lines
1.1 KiB
HTML
41 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<title>Service Workers: active</title>
|
|
<head>
|
|
<link rel="help" href="https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#navigator-service-worker-active">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<!--
|
|
|
|
`navigator.serviceWorker.active` must return a [ServiceWorker][1] object
|
|
representing the [active worker][2] that is currently undergoing or completed
|
|
the activation process (from step 4 to step 9 of the [_Activation
|
|
algorithm][3]) for the given [URL scope][4] in which the document is controlled
|
|
(or to be controlled). `navigator.serviceWorker.active` returns `null` if no
|
|
Service Worker [registration][5] is in the [activation process][6].
|
|
|
|
[1]: #service-worker-interface
|
|
[2]: #active-worker
|
|
[3]: #activation-algorithm
|
|
[4]: #url-scope
|
|
[5]: #service-worker-registration-internal-interface
|
|
[6]: #activation-process
|
|
|
|
-->
|
|
|
|
|
|
|
|
<script>
|
|
test(function() {
|
|
// not_implemented();
|
|
}, "There are no tests for section active so far.");
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|
|
|