Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / http / tests / misc / resources / isindex-with-no-form-base-href.html
index a8ca84d..abf1f46 100644 (file)
@@ -12,8 +12,8 @@ function test()
     var forms = document.getElementsByTagName('form');
     if (forms.length != 1 || forms[0].action != 'http://localhost:8000/misc/resources/isindex-with-no-form-base-href-submit.html') {
         log('Could not find form with expected action');
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }