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