https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 351d25746440b28916e0039b7369a3da4ce3e9a9 authored by plehegar on 21 June 2016, 21:14:03 UTC
Add test for onvisibilitychange
Tip revision: 351d257
stub-3.2.11-navigator-service-worker-onreloadpage.html
<!DOCTYPE html>
<html>
<title>Service Workers: onreloadpage</title>
    <head>
        <link rel="help" href="https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#navigator-service-worker-onreloadpage">
        <script src="/resources/testharness.js"></script>
        <script src="/resources/testharnessreport.js"></script>

    </head>
    <body>

<!--

`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
document.

[1]: http://goo.gl/rBfiz0
[2]: #service-worker-container-interface
[3]: #reload-page-event-interface
[4]: #reloadall-method
[5]: #active-worker
[6]: #service-worker-global-scope-interface

-->



    <script>
        test(function() {
            // not_implemented();
        }, "There are no tests for section onreloadpage so far.");
    </script>

    </body>
</html>

back to top