mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
21 lines
430 B
HTML
21 lines
430 B
HTML
<html manifest="offlineChild2.cacheManifest">
|
|
<head>
|
|
<title></title>
|
|
<script type="text/javascript">
|
|
|
|
function finish(success) {
|
|
window.parent.postMessage(success ? "success" : "failure", "*");
|
|
}
|
|
|
|
applicationCache.oncached = function() { finish(true); }
|
|
applicationCache.onnoupdate = function() { finish(true); }
|
|
applicationCache.onerror = function() { finish(false); }
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Child</h1>
|
|
</body>
|
|
</html>
|