Missing cursor/caret showing in search field on google.com
[WebKit-https.git] / LayoutTests / editing / selection / getRangeAt.html
index 93062a9..6a998e3 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-     layoutTestController.dumpEditingCallbacks();
+if (window.testRunner)
+     testRunner.dumpEditingCallbacks();
 </script>
 <script>
 function log(str) {
@@ -20,8 +20,8 @@ function runTest() {
     var elem = document.getElementById("test");
     var sel = window.getSelection();
     
-    if (window.layoutTestController)
-        window.layoutTestController.dumpAsText();
+    if (window.testRunner)
+        window.testRunner.dumpAsText();
 
     try {
         sel.setBaseAndExtent(elem, 0, elem, 1);
@@ -40,4 +40,4 @@ function runTest() {
 <div id="test" style="border:1px solid black; padding:1em;">hello</div>
 <ul id="console"></ul>
 </body>
-</html>
\ No newline at end of file
+</html>