ggaren@apple.com | fe41e1b | 2015-11-10 22:19:44 +0000 | [diff] [blame] | 1 | <script> |
2 | if (window.testRunner) { | ||||
3 | testRunner.dumpAsText(); | ||||
4 | testRunner.waitUntilDone(); | ||||
5 | } | ||||
6 | |||||
7 | window.onbeforeunload = function() { | ||||
8 | alert("FAIL: This prompt should have been ignored."); | ||||
9 | } | ||||
10 | |||||
11 | setTimeout(function() { window.location = "resources/prompt-landing-page.html" }, 0); | ||||
12 | </script> |