mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 02:47:31 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
33
dom/tests/mochitest/ajax/offline/offlineChild.html
Normal file
33
dom/tests/mochitest/ajax/offline/offlineChild.html
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue