Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / serviceworker / resources / appcache-ordering.install.html
blob428ad92c782eaccb42b14b4ea9a78a4dba500073
1 <html manifest="appcache-ordering.manifest">
2 <script>
3 var handled = false;
5 function installComplete() {
6 if (handled)
7 return;
8 handled = true;
9 window.parent.notify_appcache_installed(true);
12 function installFailed() {
13 if (handled)
14 return;
15 handled = true;
16 window.parent.notify_appcache_installed(false);
19 applicationCache.oncached = installComplete;
20 applicationCache.onnoupdate = installComplete;
21 applicationCache.onupdateready = installFailed;
22 applicationCache.onerror = installFailed;
23 applicationCache.onobsolete = installFailed;
25 </script>
26 </html>