<html manifest="resources/navigating-away-while-cache-attempt-in-progress.manifest"> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText() | |
testRunner.waitUntilDone(); | |
} | |
function navigateAway() { | |
if (window.testRunner) | |
testRunner.notifyDone(); | |
else | |
window.location.href = "about:blank" | |
} | |
setTimeout(navigateAway, 1000); | |
</script> | |
<div>This tests that navigating away while a cache is loading does not crash.</div> | |
<div>SUCCESS - did not crash</div> | |
</html> |