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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-4.3.2-reloadall-method.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: reloadAll()</title>
4 <head>
5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#reloadall-me thod">
6 <script src="/resources/testharness.js"></script>
7 <script src="/resources/testharnessreport.js"></script>
8
9 </head>
10 <body>
11
12 <!--
13
14 `reloadAll()` provides a mechanism for the worker to request synchronized
15 re-fetch of all documents whose URLs match the registration's [URL scope][1].
16 An event named `reloadpage` is dispatched on the `navigator.serviceWorker`
17 object of each document. The in-document handlers may allow the event to
18 continue, request an extension (via [`e.waitUntil()`][2]), or cancel the
19 collective reload by calling [`e.preventDefault()`][3].
20
21 [1]: #url-scope
22 [2]: #wait-until-method
23 [3]: http://goo.gl/2zH6ie
24
25 -->
26
27
28
29 <script>
30 test(function() {
31 // not_implemented();
32 }, "There are no tests for section reloadAll() so far.");
33 </script>
34
35 </body>
36 </html>
37
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698