summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/ajax/offline/460353_iframe_samemanifest.html
blob: de357827b6a2b8fad7431c82193f27334956ae6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<html xmlns="http://www.w3.org/1999/xhtml" manifest="simpleManifest.cacheManifest">
<head>
<title>Bug 460353, iframe with a different manifest reference</title>

<script type="text/javascript">

applicationCache.onerror = function() {
  parent.frameOnUpdate("same", false);
}

applicationCache.oncached = function() {
  parent.frameOnUpdate("same", true, applicationCache.status);
}

applicationCache.onnoupdate = function() {
  parent.frameOnUpdate("same", true, applicationCache.status);
}

</script>

</head>
<body onload="parent.frameOnLoad('same', applicationCache.status);">
  This is an iframe with the same manifest reference
</body>
</html>