blob: 428ad92c782eaccb42b14b4ea9a78a4dba500073 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<html manifest="appcache-ordering.manifest">
<script>
var handled = false;
function installComplete() {
if (handled)
return;
handled = true;
window.parent.notify_appcache_installed(true);
}
function installFailed() {
if (handled)
return;
handled = true;
window.parent.notify_appcache_installed(false);
}
applicationCache.oncached = installComplete;
applicationCache.onnoupdate = installComplete;
applicationCache.onupdateready = installFailed;
applicationCache.onerror = installFailed;
applicationCache.onobsolete = installFailed;
</script>
</html>
|