Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / navigation / post-301-response.html
1 <html>
2 <head>
3 <script>
4 var doTest = function () {
5     if (window.testRunner) {
6         window.testRunner.dumpAsText();
7         window.testRunner.waitUntilDone();
8     }
9     document.getElementById("form1").submit();
10 };
11 </script>
12 </head>
13 <body onload="doTest()">
14 <form id="form1" action="resources/redirection-response.php?status=301&target=redirected-post-request-contents.php?content=false" method="post">
15 <input type="text" name="text1" value="some text"><br>
16 </form>
17 </body>
18 </html>