diff options
Diffstat (limited to 'testing/web-platform/tests/service-workers/stub-3.2.3-navigator-service-worker-active.html')
-rw-r--r-- | testing/web-platform/tests/service-workers/stub-3.2.3-navigator-service-worker-active.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/web-platform/tests/service-workers/stub-3.2.3-navigator-service-worker-active.html b/testing/web-platform/tests/service-workers/stub-3.2.3-navigator-service-worker-active.html new file mode 100644 index 000000000..f7406f590 --- /dev/null +++ b/testing/web-platform/tests/service-workers/stub-3.2.3-navigator-service-worker-active.html @@ -0,0 +1,40 @@ +<!DOCTYPE html> +<html> +<title>Service Workers: active</title> + <head> + <link rel="help" href="https://w3c.github.io/ServiceWorker/#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> + |