Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / fast / multicol / hit-test-gap-between-pages.html
index e8aa13a..bce92b8 100644 (file)
@@ -6,8 +6,8 @@
         <div style="height: 50%;"></div>
         <div id="result">FAIL: Test did not run (DumpRenderTree or WebKitTestRunner needed)</div>
         <script>
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
                 internals.setPagination(document, "LeftToRightPaginated", 20, 100);
                 document.getElementById("result").innerText = document.caretRangeFromPoint(115, 50).startContainer === document.getElementById("target")
                     ? "PASS" : "FAIL";