Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: LayoutTests/accessibility/scroll-window-horiz-sends-notification.html

Issue 662913002: Fire accessible event on web area object when scrolling (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@scroll_again
Patch Set: Update tests based on change Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/accessibility/scroll-window-horiz-sends-notification-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | LayoutTests/accessibility/scroll-window-horiz-sends-notification-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698