1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/base/content/test/general/offlineChild.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +<html manifest="offlineChild.cacheManifest"> 1.5 +<head> 1.6 +<title></title> 1.7 +<script type="text/javascript"> 1.8 + 1.9 +function finish(success) { 1.10 + window.parent.postMessage(success ? "success" : "failure", "*"); 1.11 +} 1.12 + 1.13 +applicationCache.oncached = function() { finish(true); } 1.14 +applicationCache.onnoupdate = function() { finish(true); } 1.15 +applicationCache.onerror = function() { finish(false); } 1.16 + 1.17 +</script> 1.18 +</head> 1.19 + 1.20 +<body> 1.21 +<h1>Child</h1> 1.22 +</body> 1.23 +</html>