Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / platform / mac / fast / AppleScript / date.html
index 42b381e..c384dea 100644 (file)
         item.appendChild(document.createTextNode(message));
         console_messages.appendChild(item);
     }
-    if (window.layoutTestController) {
+    if (window.testRunner) {
         
         try {
         
-            layoutTestController.dumpAsText();
+            testRunner.dumpAsText();
 
             // 0xc00d6be5 == Mon Feb 06 2006 21:11:01
             log(appleScriptController.doJavaScript("new Date(2006,1,6,21,11,1)"));