blob: 3b8a65c705a31075865f7d7ebdc07ef1c59c5f1b [file] [log] [blame]
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function test()
{
if (sessionStorage["form"] != 1) {
sessionStorage["form"] = 1;
var form = document.getElementById("testForm");
setTimeout(function() { form.submit(); }, 0);
} else {
sessionStorage.removeItem("form");
history.go(1);
}
}
</script>
</head>
<body onload="test()">
<form id="testForm" action="resources/replacestate-forward-back.php" method="POST">
</form>
</body>
</html>