| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <script src="../../resources/js-test-pre.js"></script> |
| <div id="notifications"></div> |
| description("This tests that when enable enhanced accessibility is true and no other accessibility API is called, the load notification will successfully fire."); |
| function notifyCallback(element, notification) { |
| if (notification == "AXLoadComplete") |
| if (window.accessibilityController) { |
| accessibilityController.enableEnhancedAccessibility(true); |
| var addedNotification = accessibilityController.addNotificationListener(notifyCallback); |
| shouldBe("addedNotification", "true"); |
| <script src="../../resources/js-test-post.js"></script> |