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> |