blob: 8cab4d7accf51afc88f20212b3df62b5a07ed6bb [file] [log] [blame]
<html>
<script>
function openWindow()
{
window.open('resources/crash-when-navigating-away-then-back.html')
}
if (window.testRunner) {
testRunner.dumpAsText()
testRunner.waitUntilDone();
} 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>