dom/tests/mochitest/ajax/offline/offlineChild.html

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:79b7ded26f1d
1 <html>
2 <head>
3 <title></title>
4
5 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
6 <script type="text/javascript" src="/tests/dom/tests/mochitest/ajax/offline/offlineTests.js"></script>
7
8
9 <script type="text/javascript">
10
11 // This is called by the parent when the offline update is complete
12 // (since we don't get those events)
13 function doneLoading()
14 {
15 window.parent.childFinished();
16 }
17
18 if (OfflineTest.setupChild()) {
19 // Child frames shouldn't be receiving cache events.
20 applicationCache.onerror = OfflineTest.failEvent;
21 applicationCache.onnoupdate = OfflineTest.failEvent;
22 applicationCache.ondownloading = OfflineTest.failEvent;
23 applicationCache.onprogress = OfflineTest.failEvent;
24 applicationCache.onupdateready = OfflineTest.failEvent;
25 applicationCache.oncached = OfflineTest.failEvent;
26 }
27 </script>
28
29 </head>
30
31 <body>
32
33 </body> </html>

mercurial