| Index: LayoutTests/accessibility/scroll-window-horiz-sends-notification.html
|
| diff --git a/LayoutTests/accessibility/scroll-window-horiz-sends-notification.html b/LayoutTests/accessibility/scroll-window-horiz-sends-notification.html
|
| index 843f2c5a066f52c4c1efb1b53edda381c9867a56..4b1e5c7ad70c7c284cc1c3bb54bf600c2dacbd13 100644
|
| --- a/LayoutTests/accessibility/scroll-window-horiz-sends-notification.html
|
| +++ b/LayoutTests/accessibility/scroll-window-horiz-sends-notification.html
|
| @@ -29,8 +29,8 @@ if (window.testRunner && window.accessibilityController) {
|
| shouldBe("window.pageXOffset", "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.pageXOffset", "500");
|
| finishJSTest();
|
|
|