Use testRunner instead of layoutTestController in animations tests
[WebKit-https.git] / LayoutTests / animations / fill-mode.html
index 6c741a5..233cde1 100644 (file)
@@ -57,9 +57,9 @@
     ];
     var result = "";
 
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     function animationEnded(event) {
@@ -84,8 +84,8 @@
         }
         document.getElementById('result').innerHTML = result;
 
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 
     window.onload = function () {