blob: 7575bab444907ea4a7691ceb657ec99b0694a112 [file] [log] [blame]
<html manifest="reload-iframe.manifest">
<body>
<script>
function test()
{
try {
var req = new XMLHttpRequest();
req.open("GET", "resources/not-in-cache.txt", false);
req.send("");
parent.postMessage("FAIL: Loading an uncached resource didn't raise an exception", "*");
} catch (e) {
parent.postMessage("SUCCESS", "*");
}
}
applicationCache.onnoupdate = function() { parent.postMessage("Frame loaded", "*") }
applicationCache.oncached = function() { parent.postMessage("Frame loaded", "*") }
</script>
</body>
</html>