Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / navigation / scrollstate-after-http-equiv-refresh-fragment-identifier-2.html
index 1498b52..7f839cb 100644 (file)
@@ -2,16 +2,16 @@
 <meta http-equiv="refresh" content="2">
 <script>
 
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
 }
 
 function testScroll() {
   window.setTimeout(function() {
         if (window.pageYOffset != 0) {
           document.body.innerHTML = "SUCCESS";
-          layoutTestController.notifyDone();
+          testRunner.notifyDone();
         } else
           location.assign('scrollstate-after-http-equiv-refresh-fragment-identifier-2.html#1');
     }, 0);