Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / fast / harness / resources / modal-dialog.html
index 6d04473..19a14e9 100644 (file)
@@ -3,12 +3,12 @@
 <script>
     function closeWindow()
     {
-        if (window.layoutTestController) {
-            layoutTestController.notifyDone();
+        if (window.testRunner) {
+            testRunner.notifyDone();
         }
         opener.log("Modal dialog closing.");
-        if (window.layoutTestController) {
-            layoutTestController.abortModal();
+        if (window.testRunner) {
+            testRunner.abortModal();
         }
         close();
     }