| <!DOCTYPE html> | |
| <html> | |
| <title>Service Workers: reloadAll()</title> | |
| <head> | |
| <link rel="help" href="https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#reloadall-method"> | |
| <script src="/resources/testharness.js"></script> | |
| <script src="/resources/testharnessreport.js"></script> | |
| </head> | |
| <body> | |
| <!-- | |
| `reloadAll()` provides a mechanism for the worker to request synchronized | |
| re-fetch of all documents whose URLs match the registration's [URL scope][1]. | |
| An event named `reloadpage` is dispatched on the `navigator.serviceWorker` | |
| object of each document. The in-document handlers may allow the event to | |
| continue, request an extension (via [`e.waitUntil()`][2]), or cancel the | |
| collective reload by calling [`e.preventDefault()`][3]. | |
| [1]: #url-scope | |
| [2]: #wait-until-method | |
| [3]: http://goo.gl/2zH6ie | |
| --> | |
| <script> | |
| test(function() { | |
| // not_implemented(); | |
| }, "There are no tests for section reloadAll() so far."); | |
| </script> | |
| </body> | |
| </html> | |