Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / navigation / relativeanchor-frames.html
index f9c067f..2db54d8 100644 (file)
@@ -1,9 +1,9 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <!-- %23 below is a #, which is escaped so the anchor applies to the subframe instead of the frameset. -->
 <script>
-    if(window.layoutTestController) {
-        layoutTestController.dumpChildFrameScrollPositions();
-        layoutTestController.dumpAsText();
+    if(window.testRunner) {
+        testRunner.dumpChildFrameScrollPositions();
+        testRunner.dumpAsText();
     }
     runBasicTest("resources/frameset.pl?frameURL=success200.html", "relativeanchor");
 </script>