OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <title>Service Workers: onupdatefound</title> |
| 4 <head> |
| 5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#navigator-se
rvice-worker-onupdatefound"> |
| 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.onupdatefound` is the [event handler][1] that must be |
| 15 supported as attribute by the `[ServiceWorkerContainer][2]` object. An |
| 16 `updatefound` event using the `[Event][3]` interface is dispatched on |
| 17 `[ServiceWorkerContainer][2]` object (See step 4 of the [_Installation |
| 18 algorithm][4]) when the associated Service Worker [registration][5] for the |
| 19 document enters the [installation process][6] such that |
| 20 `navigator.serviceWorker.installing` becomes the new [installing worker][7]. |
| 21 |
| 22 [1]: http://goo.gl/rBfiz0 |
| 23 [2]: #service-worker-container-interface |
| 24 [3]: http://goo.gl/Mzv7Dv |
| 25 [4]: #installation-algorithm |
| 26 [5]: #registration |
| 27 [6]: #installation-process |
| 28 [7]: #installing-worker |
| 29 |
| 30 --> |
| 31 |
| 32 |
| 33 |
| 34 <script> |
| 35 test(function() { |
| 36 // not_implemented(); |
| 37 }, "There are no tests for section onupdatefound so far."); |
| 38 </script> |
| 39 |
| 40 </body> |
| 41 </html> |
| 42 |
OLD | NEW |