OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <title>Service Workers: onerror</title> |
| 4 <head> |
| 5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#navigator-se
rvice-worker-onerror"> |
| 6 <script src="/resources/testharness.js"></script> |
| 7 <script src="/resources/testharnessreport.js"></script> |
| 8 |
| 9 </head> |
| 10 <body> |
| 11 |
| 12 <!-- |
| 13 |
| 14 `navigator.serviceWorker.onerror` is the [event handler][1] that must be |
| 15 supported as attribute by the `[ServiceWorkerContainer][2]` object. An event |
| 16 named `error` using the `[ErrorEvent][3]` interface is dispatched on |
| 17 `[ServiceWorkerContainer][2]` object for any error from the associated |
| 18 `[ServiceWorker][4]` objects. |
| 19 |
| 20 [1]: http://goo.gl/rBfiz0 |
| 21 [2]: #service-worker-container-interface |
| 22 [3]: http://goo.gl/FKuWgu |
| 23 [4]: #service-worker-interface |
| 24 |
| 25 --> |
| 26 |
| 27 |
| 28 |
| 29 <script> |
| 30 test(function() { |
| 31 // not_implemented(); |
| 32 }, "There are no tests for section onerror so far."); |
| 33 </script> |
| 34 |
| 35 </body> |
| 36 </html> |
| 37 |
OLD | NEW |