Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / navigation / onload-navigation-iframe-2.html
index 27f6a40..7f90a84 100644 (file)
@@ -4,10 +4,10 @@
 
 function runTest()
 {
-    if (window.layoutTestController) {
-        layoutTestController.dumpBackForwardList();
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpBackForwardList();
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     document.getElementById("myForm").submit();
@@ -17,8 +17,8 @@ function frameLoaded()
 {
     if (document.getElementById("myFrame").contentDocument.URL === "about:blank")
         return;
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 </script>