Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / fast / encoding / url-host-name-non-ascii.html
index 639b7ba..b70fe7b 100644 (file)
@@ -5,8 +5,8 @@
 <a id="anchor" href="http://w&#xe9;bkit.org/"></a>
 <div id="result"></div>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     var encodedURL = document.getElementById("anchor").href;
     document.getElementById("result").innerText = encodedURL == "http://xn--wbkit-bsa.org/" ? "PASS" : "FAIL: The encoded URL was '" + encodedURL + "'.";