blob: fbc957604ab9a21324c655607e9b3084967434ff [file] [log] [blame]
<body>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
testRunner.dumpBackForwardList();
}
window.onbeforeunload = function() {
history.back();
if (window.testRunner)
testRunner.notifyDone();
};
setTimeout(function() {
history.pushState("", "", "#");
location = "we-wont-actually-go-here.html";
}, 1);
</script>
Ensure we ignore back/forward navigations during beforeunload.
</body>