summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/service-workers/stub-3.2.3-navigator-service-worker-active.html
blob: f7406f59012fc8e197177e1c37e43d045a1fd70b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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>