summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/loader/unload-window-location.html
blob: 154cdee1793bdd6017c61cc0a9e525f9c3547c68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<script>
addEventListener("unload", function() {
  window.location = "resources/fail-and-notify-done.html";
}, false);
</script>
<script>
if (window.testRunner) {
  testRunner.dumpAsText();
  testRunner.waitUntilDone();
}
window.location = "resources/pass-and-notify-done.html";
</script>