blob: ef3fd10fb9e3ae6b211f493361fc4608fd9b7b78 [file] [log] [blame]
<!DOCTYPE html>
<title>Service Workers: onreloadpage</title>
<link rel="help" href="">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
`navigator.serviceWorker.onreloadpage` is the [event handler][1] that must be
supported as attribute by the `[ServiceWorkerContainer][2]` object. An event
named `reloadpage` using the `[ReloadPageEvent][3]` interface is dispatched on
`[ServiceWorkerContainer][2]` object when the page reload is triggered by the
`[self.clients.reloadAll()][4]` method call from the [active worker][5],
represented by its associated [ServiceWorkerGlobalScope][6] object, for the
[2]: #service-worker-container-interface
[3]: #reload-page-event-interface
[4]: #reloadall-method
[5]: #active-worker
[6]: #service-worker-global-scope-interface
test(function() {
// not_implemented();
}, "There are no tests for section onreloadpage so far.");