OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <title>Service Workers: onstatechange</title> |
| 4 <head> |
| 5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#service-work
er-on-state-change"> |
| 6 <script src="/resources/testharness.js"></script> |
| 7 <script src="/resources/testharnessreport.js"></script> |
| 8 |
| 9 </head> |
| 10 <body> |
| 11 |
| 12 <!-- |
| 13 |
| 14 `onstatechange` is the [event handler][1] that must be supported as attribute |
| 15 by the `[ServiceWorker][2]` object. A `statechange` event using the |
| 16 `[Event][3]` interface is dispatched on `[ServiceWorker][2]` object when the |
| 17 `state` attribute of the `ServiceWorker` object is changed. |
| 18 |
| 19 [1]: http://goo.gl/rBfiz0 |
| 20 [2]: #service-worker-interface |
| 21 [3]: http://goo.gl/Mzv7Dv |
| 22 |
| 23 --> |
| 24 |
| 25 |
| 26 |
| 27 <script> |
| 28 test(function() { |
| 29 // not_implemented(); |
| 30 }, "There are no tests for section onstatechange so far."); |
| 31 </script> |
| 32 |
| 33 </body> |
| 34 </html> |
| 35 |
OLD | NEW |