<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.waitUntilDone(); | |
} | |
window.onunload = function() { | |
alert("FAIL: This prompt should have been ignored."); | |
} | |
setTimeout(function() { window.location = "resources/prompt-landing-page.html" }, 0); | |
</script> |