Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / navigation / navigation-interrupted-by-fragment.html
index f7c213f..4ef2b4d 100644 (file)
@@ -1,8 +1,8 @@
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpBackForwardList();
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpBackForwardList();
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 onload = function() {
     window.location = 'resources/slow-resource.pl?delay=100';
@@ -15,8 +15,8 @@ onhashchange = function() {
 
 function done() {
     console.log('Visited fragment and waited.');
-    if (window.layoutTestController) {
-        layoutTestController.notifyDone();
+    if (window.testRunner) {
+        testRunner.notifyDone();
     }
 }