Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / navigation / redirect-preserves-referrer.html
index 6b7cafc..31b78b3 100644 (file)
@@ -2,9 +2,9 @@
 <head>
 <script>
 function start() {
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
         var link = document.getElementById("link");
         eventSender.mouseMoveTo(link.offsetLeft + 2, link.offsetTop + 2);
         eventSender.mouseDown();