Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / accessibility / scroll-window-sends-notification.html
index ef76bd0..7ff4cf6 100644 (file)
@@ -29,8 +29,8 @@ if (window.testRunner && window.accessibilityController) {
     shouldBe("window.pageYOffset", "0");
 
     accessibilityController.addNotificationListener(function (target, notification) {
-        if (target.role == 'AXRole: AXScrollArea') {
-            debug('Got notification on scroll area');
+        if (target.role == 'AXRole: AXWebArea' && notification == 'ScrollPositionChanged') {
+            debug('Got notification on web area');
             accessibilityController.removeNotificationListener();
             shouldBe("window.pageYOffset", "500");
             finishJSTest();