blob: 7581a16ded9d73b5c522b26bfc222cdc8bf925ac [file] [log] [blame]
<html>
<script>
function openWindow()
{
window.open('resources/crash-when-navigating-away-then-back.html')
}
if (window.testRunner) {
testRunner.dumpAsText()
testRunner.waitUntilDone();
testRunner.setCanOpenWindows();
} else {
document.write('<div id="manual-instructions">Click <a href="javascript:openWindow()">this link</a> twice. A window should open and close twice without crashing.</div>')
}
function closedWindow()
{
if (window.testRunner)
setTimeout(openWindow, 100);
}
</script>
<body onload="if (window.testRunner) openWindow()">
<div>This tests that loading a page with a manifest, navigating away from the page, and then back does not cause a crash.</div>
<div id="result">FAILURE - test not completed</div>
</html>
</div>