Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / plugins / create-v8-script-objects.html
index 9d61890..1599bb9 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script type="text/javascript">
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 function onSubframeLoaded() {
@@ -11,8 +11,8 @@ function onSubframeLoaded() {
         '<embed name="plugin" type="application/x-webkit-test-netscape"></embed>';
     document.plugin.testEvaluate('outputResult()');
 
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 function outputResult() {