summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/service-workers/stub-4.3.2-reloadall-method.html
blob: c5a9dd45404a52c8175967e340ae04095964c127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html>
<title>Service Workers: reloadAll()</title>
    <head>
        <link rel="help" href="https://w3c.github.io/ServiceWorker/#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>