Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / navigation / error404-frames.html
index c83d96f..3325087 100644 (file)
@@ -1,11 +1,11 @@
 <html>
   <!-- Tests that 404s in frames are handled correctly -->
   <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.dumpChildFramesAsText();
-        layoutTestController.clearBackForwardList();
-        layoutTestController.dumpBackForwardList();        
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.dumpChildFramesAsText();
+        testRunner.clearBackForwardList();
+        testRunner.dumpBackForwardList();        
     }
   </script>
   <frameset rows="90%,10%">