blob: c5a9dd45404a52c8175967e340ae04095964c127 [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.");