summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/general/offlineChild.html
blob: 43f225b3b00759b4132aaf9fc4208be719981d13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html manifest="offlineChild.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>