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

Unified Diff: content/test/data/accessibility/event/menulist-popup.html

Issue 1128963004: Test AX events fired when opening a select popup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test expectations Created 5 years, 7 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
Index: content/test/data/accessibility/event/menulist-popup.html
diff --git a/content/test/data/accessibility/event/menulist-popup.html b/content/test/data/accessibility/event/menulist-popup.html
new file mode 100644
index 0000000000000000000000000000000000000000..f2d4386c9c33832883b5512dcbd1ba28c4ddfbad
--- /dev/null
+++ b/content/test/data/accessibility/event/menulist-popup.html
@@ -0,0 +1,23 @@
+<!--
+@WIN-DENY:EVENT_OBJECT_STATECHANGE*role=ROLE_SYSTEM_LIST*
+@WIN-DENY:EVENT_OBJECT_REORDER*
+@MAC-DENY:AXLayoutComplete*
+-->
+<!DOCTYPE html>
+<html>
+<body>
+<select>
+ <option selected>Apple</option>
+ <option>Orange</option>
+ <option>Banana</option>
+</select>
+<script>
+ function go() {
+ var select = document.querySelector('select');
+ var event = document.createEvent('MouseEvents');
+ event.initMouseEvent('mousedown', true, true, window);
+ select.dispatchEvent(event);
+ }
+</script>
+</body>
+</html>
« no previous file with comments | « content/shell/browser/shell.cc ('k') | content/test/data/accessibility/event/menulist-popup-expected-mac.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698