browser/base/content/test/general/offlineChild.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:e19feaeee3b8
1 <html manifest="offlineChild.cacheManifest">
2 <head>
3 <title></title>
4 <script type="text/javascript">
5
6 function finish(success) {
7 window.parent.postMessage(success ? "success" : "failure", "*");
8 }
9
10 applicationCache.oncached = function() { finish(true); }
11 applicationCache.onnoupdate = function() { finish(true); }
12 applicationCache.onerror = function() { finish(false); }
13
14 </script>
15 </head>
16
17 <body>
18 <h1>Child</h1>
19 </body>
20 </html>

mercurial