Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / navigation / redirect-load-no-form-restoration.html
index 7b16845..b302e32 100644 (file)
@@ -8,10 +8,10 @@
         
         function test()
         {
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.dumpBackForwardList();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.dumpBackForwardList();
+                testRunner.waitUntilDone();
             }
             setTimeout(test2, 0);
         }