Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / misc / single-character-pi-stylesheet.xhtml
index 7b1c8c6..aa2895a 100644 (file)
@@ -7,8 +7,8 @@
 This text should be styled green.\r
 </p>\r
 <script>\r
-if (window.layoutTestController)\r
-    layoutTestController.dumpAsText();\r
+if (window.testRunner)\r
+    testRunner.dumpAsText();\r
 \r
 if (!document.firstChild.data.match(/href="a"/))\r
     alert("Please don't rename the stylesheet - the test needs its URL to be single character");\r