1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/tests/mochitest/ajax/offline/460353_iframe_samemanifest.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" manifest="simpleManifest.cacheManifest"> 1.5 +<head> 1.6 +<title>Bug 460353, iframe with a different manifest reference</title> 1.7 + 1.8 +<script type="text/javascript"> 1.9 + 1.10 +applicationCache.onerror = function() { 1.11 + parent.frameOnUpdate("same", false); 1.12 +} 1.13 + 1.14 +applicationCache.oncached = function() { 1.15 + parent.frameOnUpdate("same", true, applicationCache.status); 1.16 +} 1.17 + 1.18 +applicationCache.onnoupdate = function() { 1.19 + parent.frameOnUpdate("same", true, applicationCache.status); 1.20 +} 1.21 + 1.22 +</script> 1.23 + 1.24 +</head> 1.25 +<body onload="parent.frameOnLoad('same', applicationCache.status);"> 1.26 + This is an iframe with the same manifest reference 1.27 +</body> 1.28 +</html>