<html> | |
<head> | |
<title>JavaScript Redirect</title> | |
<script> | |
if (window.testRunner) { | |
testRunner.clearBackForwardList(); | |
testRunner.waitUntilDone(); | |
} | |
window.onload = function() { | |
setTimeout(function () { | |
location.replace("resources/redirect-target.html#1"); | |
}, 0); | |
} | |
</script> | |
</head> | |
<body> | |
This page uses location.replace after the load event. | |
It should not create a new history entry. | |
</body> | |
</html> |