OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <title>Service Workers: active</title> |
| 4 <head> |
| 5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#navigator-se
rvice-worker-active"> |
| 6 <script src="/resources/testharness.js"></script> |
| 7 <script src="/resources/testharnessreport.js"></script> |
| 8 |
| 9 </head> |
| 10 <body> |
| 11 |
| 12 <!-- |
| 13 |
| 14 `navigator.serviceWorker.active` must return a [ServiceWorker][1] object |
| 15 representing the [active worker][2] that is currently undergoing or completed |
| 16 the activation process (from step 4 to step 9 of the [_Activation |
| 17 algorithm][3]) for the given [URL scope][4] in which the document is controlled |
| 18 (or to be controlled). `navigator.serviceWorker.active` returns `null` if no |
| 19 Service Worker [registration][5] is in the [activation process][6]. |
| 20 |
| 21 [1]: #service-worker-interface |
| 22 [2]: #active-worker |
| 23 [3]: #activation-algorithm |
| 24 [4]: #url-scope |
| 25 [5]: #service-worker-registration-internal-interface |
| 26 [6]: #activation-process |
| 27 |
| 28 --> |
| 29 |
| 30 |
| 31 |
| 32 <script> |
| 33 test(function() { |
| 34 // not_implemented(); |
| 35 }, "There are no tests for section active so far."); |
| 36 </script> |
| 37 |
| 38 </body> |
| 39 </html> |
| 40 |
OLD | NEW |