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