Chromium Code Reviews
DescriptionFix bad focus state tracking
Since |automationUtil.updateFocusedNode| gets called both from the client |getFocus| api as well as by onAccessibilityEvents (when receiving focus events), we sometimes discarded focus events because we updated focus when a client called getFocus before the actual focus event fires.
In the attached bug, we fire a childrenChanged event where we already implicitly changed the focused node. On an event handler, a client calls getFocus, updating the focused node. The next event, the actual focus event, is discard incorrectly.
BUG=658621
Committed: https://crrev.com/6e3a3a84756c2ee9d06f9c0766b694ea6520f368
Cr-Commit-Position: refs/heads/master@{#427417}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|
|||||||||||||||||||