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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-3.2.11-navigator-service-worker-onreloadpage.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: onreloadpage</title>
4 <head>
5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#navigator-se rvice-worker-onreloadpage">
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.onreloadpage` is the [event handler][1] that must be
15 supported as attribute by the `[ServiceWorkerContainer][2]` object. An event
16 named `reloadpage` using the `[ReloadPageEvent][3]` interface is dispatched on
17 `[ServiceWorkerContainer][2]` object when the page reload is triggered by the
18 `[self.clients.reloadAll()][4]` method call from the [active worker][5],
19 represented by its associated [ServiceWorkerGlobalScope][6] object, for the
20 document.
21
22 [1]: http://goo.gl/rBfiz0
23 [2]: #service-worker-container-interface
24 [3]: #reload-page-event-interface
25 [4]: #reloadall-method
26 [5]: #active-worker
27 [6]: #service-worker-global-scope-interface
28
29 -->
30
31
32
33 <script>
34 test(function() {
35 // not_implemented();
36 }, "There are no tests for section onreloadpage so far.");
37 </script>
38
39 </body>
40 </html>
41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698