<html> <head> <title></title> <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> <script type="text/javascript" src="/tests/dom/tests/mochitest/ajax/offline/offlineTests.js"></script> <script type="text/javascript"> // This is called by the parent when the offline update is complete // (since we don't get those events) function doneLoading() { window.parent.childFinished(); } if (OfflineTest.setupChild()) { // Child frames shouldn't be receiving cache events. applicationCache.onerror = OfflineTest.failEvent; applicationCache.onnoupdate = OfflineTest.failEvent; applicationCache.ondownloading = OfflineTest.failEvent; applicationCache.onprogress = OfflineTest.failEvent; applicationCache.onupdateready = OfflineTest.failEvent; applicationCache.oncached = OfflineTest.failEvent; } </script> </head> <body> </body> </html>