blob: 1da2b24013bc7e9332a39ed92c865de42d59d99e [file] [log] [blame]
<html>
<head>
<title>JavaScript Redirect</title>
<script>
if (window.testRunner) {
testRunner.clearBackForwardList();
testRunner.waitUntilDone();
}
window.onload = function() {
setTimeout(function () {
location = "resources/redirect-target.html#2";
}, 0);
}
</script>
</head>
<body>
This page modifies location after the load event.
It must create a new history entry.
</body>
</html>