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

Unified Diff: LayoutTests/fast/forms/calendar-picker/date-picker-ax.html

Issue 550853002: AX: Calendar Picker: Initial day selection should notify ActiveDescendantChanged a11y event. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/fast/forms/calendar-picker/date-picker-ax-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/calendar-picker/date-picker-ax.html
diff --git a/LayoutTests/fast/forms/calendar-picker/date-picker-ax.html b/LayoutTests/fast/forms/calendar-picker/date-picker-ax.html
index 716ac63c3330c7fc33003a03049ed6b7fbb2d23a..07e4048c21a287f7ea5b0e8b211872bf914350da 100644
--- a/LayoutTests/fast/forms/calendar-picker/date-picker-ax.html
+++ b/LayoutTests/fast/forms/calendar-picker/date-picker-ax.html
@@ -16,9 +16,11 @@ window.accessibilityController.setNotificationListener(function(axnode, type) {
debug('Focused: ' + accessibilityController.focusedElement.description);
} else if (type == 'ActiveDescendantChanged') {
testPassed('Received ActiveDescendantChanged');
- finishJSTest();
+ if (++activeDescendantCounter >= 2)
+ finishJSTest();
}
});
+var activeDescendantCounter = 0;
var date1 = document.getElementById('date1');
openPicker(date1, test1);
« no previous file with comments | « no previous file | LayoutTests/fast/forms/calendar-picker/date-picker-ax-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698