mirror of
https://github.com/servo/servo.git
synced 2025-07-16 11:53: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/.
35 lines
886 B
HTML
35 lines
886 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<title>Service Workers: onstatechange</title>
|
|
<head>
|
|
<link rel="help" href="https://w3c.github.io/ServiceWorker/#service-worker-on-state-change">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<!--
|
|
|
|
`onstatechange` is the [event handler][1] that must be supported as attribute
|
|
by the `[ServiceWorker][2]` object. A `statechange` event using the
|
|
`[Event][3]` interface is dispatched on `[ServiceWorker][2]` object when the
|
|
`state` attribute of the `ServiceWorker` object is changed.
|
|
|
|
[1]: http://goo.gl/rBfiz0
|
|
[2]: #service-worker-interface
|
|
[3]: http://goo.gl/Mzv7Dv
|
|
|
|
-->
|
|
|
|
|
|
|
|
<script>
|
|
test(function() {
|
|
// not_implemented();
|
|
}, "There are no tests for section onstatechange so far.");
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|
|
|