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