gecko/dom/tests/mochitest/ajax/offline/460353_iframe_samemanifest.html

22 lines
541 B
HTML

<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);
}
</script>
</head>
<body onload="parent.frameOnLoad('same', applicationCache.status);">
This is an iframe with the same manifest reference
</body>
</html>