Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-3.2.3-navigator-service-worker-active.html

Issue 2415873002: Import w3c tests for the service workers (Closed)
Patch Set: Rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698