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