Fix automation event listeners in Switch Access
In http://crrev.com/c/2424854 ("Refactor chrome.automation.EventType"), we simplified the mappings from ax.mojom.Event and EventGenerator events. However, a minor oversight was that the previous code mapped some generated events into automation events with different names. With the new code, they map to an automation event with the same name - but the old names still exist so they didn't generate a compile error. To ensure this was comprehensive, I wrote some code to log all of the event mappings before and after the patch, and did a diff to look for discrepancies. The diff is here - https://paste.googleplex.com/6408048659660800 - but the only relevant ones are: - ariaAttributeChanged - expandedChanged - scrollPositionChanged This patch fixes any instances of those three events in Switch Access in particular. This fixes at regressions with combo boxes and the virtual keyboard. Bug: 1110367, 1135248 AX-Relnotes: none because it just fixes a regression Change-Id: I5e3a3b98edb8d9fcdc3ad55b28ad2ce476da7e14 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2450663 Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:David Tseng <dtseng@chromium.org> Cr-Commit-Position: refs/heads/master@{#814732}
Showing
Please register or sign in to comment