mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-08 08:17:31 +09:00
42 lines
1.2 KiB
HTML
42 lines
1.2 KiB
HTML
|
|
<!DOCTYPE html>
|
||
|
|
<html>
|
||
|
|
<title>Service Workers: onupdatefound</title>
|
||
|
|
<head>
|
||
|
|
<link rel="help" href="https://w3c.github.io/ServiceWorker/#navigator-service-worker-onupdatefound">
|
||
|
|
<script src="/resources/testharness.js"></script>
|
||
|
|
<script src="/resources/testharnessreport.js"></script>
|
||
|
|
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
|
||
|
|
<!--
|
||
|
|
|
||
|
|
`navigator.serviceWorker.onupdatefound` is the [event handler][1] that must be
|
||
|
|
supported as attribute by the `[ServiceWorkerContainer][2]` object. An
|
||
|
|
`updatefound` event using the `[Event][3]` interface is dispatched on
|
||
|
|
`[ServiceWorkerContainer][2]` object (See step 4 of the [_Installation
|
||
|
|
algorithm][4]) when the associated Service Worker [registration][5] for the
|
||
|
|
document enters the [installation process][6] such that
|
||
|
|
`navigator.serviceWorker.installing` becomes the new [installing worker][7].
|
||
|
|
|
||
|
|
[1]: http://goo.gl/rBfiz0
|
||
|
|
[2]: #service-worker-container-interface
|
||
|
|
[3]: http://goo.gl/Mzv7Dv
|
||
|
|
[4]: #installation-algorithm
|
||
|
|
[5]: #registration
|
||
|
|
[6]: #installation-process
|
||
|
|
[7]: #installing-worker
|
||
|
|
|
||
|
|
-->
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<script>
|
||
|
|
test(function() {
|
||
|
|
// not_implemented();
|
||
|
|
}, "There are no tests for section onupdatefound so far.");
|
||
|
|
</script>
|
||
|
|
|
||
|
|
</body>
|
||
|
|
</html>
|
||
|
|
|