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