Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / navigation / post-307-response.html
index 37b393e..7151eed 100644 (file)
@@ -2,9 +2,9 @@
 <head>
 <script>
 var doTest = function () {
-    if (window.layoutTestController) {
-        window.layoutTestController.dumpAsText();
-        window.layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        window.testRunner.dumpAsText();
+        window.testRunner.waitUntilDone();
     }
     document.getElementById("form1").submit();
 };