blob: ee8f3524864c9153f38c2757253b98fec8cd66c9 [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function log()
{
alert("FAIL: This prompt should have been ignored.");
}
window.onbeforeunload = function() {
showModalDialog("resources/modal-dialog.html");
}
setTimeout(function() { window.location = "resources/prompt-landing-page.html" }, 0);
</script>