mirror of
https://github.com/servo/servo.git
synced 2025-07-02 21:13:39 +01:00
The old specification URL is https://slightlyoff.github.io/ServiceWorker/spec/service_worker/ has been replaced by the new one at https://w3c.github.io/ServiceWorker/.
37 lines
997 B
HTML
37 lines
997 B
HTML
<!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>
|
|
|