<html>
<head>
<title>JavaScript Redirect</title>

<script>
if (window.testRunner) {
    testRunner.clearBackForwardList();
    testRunner.waitUntilDone();
}
</script>
</head>

<body>
<p>This page is a JavaScript redirect on a 2 second delay.</p>
<form id="form" action="resources/redirect-target.html#1"></form>
<script>
setTimeout(function () { document.getElementById("form").submit(); }, 2000);
</script>
</body>
</html>
