blob: 7b16845b1c16d6f9cdaa45dc1461e19b0f87d9ae [file] [log] [blame]
<html>
<head>
<script>
function test2()
{
location.href = 'resources/redirect-load.html';
}
function test()
{
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.dumpBackForwardList();
layoutTestController.waitUntilDone();
}
setTimeout(test2, 0);
}
</script>
</head>
<body onload="test()">
This tests that the old url's document state (including the form state) is not restored for the new url after a redirect.<br>
<input name="some_name" value="Test Failed">
</body>
</html>