blob: dd79a9168dc858891a0d3a7cb297fba79960ba3d [file] [log] [blame]
<!DOCTYPE html>
<title>Service Workers: reloadAll()</title>
<link rel="help" href="">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
`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
test(function() {
// not_implemented();
}, "There are no tests for section reloadAll() so far.");