Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / platform / mac / fast / AppleScript / array.html
index db9f70f..f100349 100644 (file)
         item.appendChild(document.createTextNode(message));
         console_messages.appendChild(item);
     }
-    if (window.layoutTestController) {
+    if (window.testRunner) {
         
         try {
         
-            layoutTestController.dumpAsText();
+            testRunner.dumpAsText();
             
             log(appleScriptController.doJavaScript("new Array(1, 2, 'three');"));
             log(appleScriptController.doJavaScript("arr = new Array; arr['a'] = 'a'; arr[2] = 2; arr;"));