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

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

Issue 2024053003: Revert of Uses the activedescendant_changed event received from Blink to fire the right focus event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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-next.html
diff --git a/content/test/data/accessibility/event/menulist-next.html b/content/test/data/accessibility/event/menulist-next.html
index 61ea0676f17269cace69cc82431e1c2cd7c402c7..98d7f3329ab7b025287718150dd3a9841955b56e 100644
--- a/content/test/data/accessibility/event/menulist-next.html
+++ b/content/test/data/accessibility/event/menulist-next.html
@@ -10,12 +10,7 @@
<option>Banana</option>
</select>
<script>
- var comboBox = document.querySelector('select');
- comboBox.focus();
- // Expand the combo box.
- var clickEvent = document.createEvent('MouseEvents');
- clickEvent.initMouseEvent('mousedown', true, true, window);
- comboBox.dispatchEvent(clickEvent);
+ document.querySelector('select').focus();
function go() {
document.querySelector('select').selectedIndex = 1;
}

Powered by Google App Engine
This is Rietveld 408576698