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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-3.2.4-navigator-service-worker-controller.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: controller</title>
4 <head>
5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#navigator-se rvice-worker-controller">
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.controller` must return a [ServiceWorker][1] object
15 representing the [active worker][2] that currently handles resource requests
16 for the document. `navigator.serviceWorker.controller` returns `null` if the
17 current document was not [created under a Service Worker][3] (See step 6-1 of
18 [_OnFetchRequest][3] algorithm) or the request is a force refresh
19 (shift+refresh).
20
21 [1]: #service-worker-interface
22 [2]: #active-worker
23 [3]: #on-fetch-request-algorithm
24
25 -->
26
27
28
29 <script>
30 test(function() {
31 // not_implemented();
32 }, "There are no tests for section controller so far.");
33 </script>
34
35 </body>
36 </html>
37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698