<html> | |
<head> | |
<script> | |
var doTest = function () { | |
if (window.testRunner) { | |
window.testRunner.dumpAsText(); | |
window.testRunner.waitUntilDone(); | |
} | |
document.getElementById("form1").submit(); | |
}; | |
</script> | |
</head> | |
<body onload="doTest()"> | |
<form id="form1" action="resources/redirection-response.php?status=301&target=redirected-post-request-contents.php?content=false" method="post"> | |
<input type="text" name="text1" value="some text"><br> | |
</form> | |
</body> | |
</html> |