| <!DOCTYPE html> | |
| <html> | |
| <title>Service Workers: onerror</title> | |
| <head> | |
| <link rel="help" href="https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#navigator-service-worker-onerror"> | |
| <script src="/resources/testharness.js"></script> | |
| <script src="/resources/testharnessreport.js"></script> | |
| </head> | |
| <body> | |
| <!-- | |
| `navigator.serviceWorker.onerror` is the [event handler][1] that must be | |
| supported as attribute by the `[ServiceWorkerContainer][2]` object. An event | |
| named `error` using the `[ErrorEvent][3]` interface is dispatched on | |
| `[ServiceWorkerContainer][2]` object for any error from the associated | |
| `[ServiceWorker][4]` objects. | |
| [1]: http://goo.gl/rBfiz0 | |
| [2]: #service-worker-container-interface | |
| [3]: http://goo.gl/FKuWgu | |
| [4]: #service-worker-interface | |
| --> | |
| <script> | |
| test(function() { | |
| // not_implemented(); | |
| }, "There are no tests for section onerror so far."); | |
| </script> | |
| </body> | |
| </html> | |