Clean up asynchronous behavior in some accessibility tests
[WebKit-https.git] / LayoutTests / accessibility / mac / selection-notification-focus-change.html
index 4aa8ba9..ba2d71c 100644 (file)
@@ -72,6 +72,9 @@
                     shouldBeTrue("addedNotification");
 
                     eventSender.keyDown("\t");
+                } else {
+                    debug("window.accessibilityController is not present");
+                    finishJSTest();
                 }
             }
             </script>