DescriptionMake ChromeVox cursor robust to deleted nodes
If a node becomes invalid, the cursor snaps to the nearest valid ancestor.
Fixing this uncovered a lot of places where we were assuming that a cursor's
node must be valid, but it's possible that even with this new check that
a cursor could still be invalid, so I added checks in a lot of places.
BUG=613694
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/787fcfd375bb7e761a2ccfb869b1bb4877a2f337
Cr-Commit-Position: refs/heads/master@{#397860}
Patch Set 1 #
Total comments: 12
Patch Set 2 : Address feedback #
Total comments: 6
Patch Set 3 : Address last feedback #Patch Set 4 : null check #Patch Set 5 : Add one more null check #Patch Set 6 : Rebase #
Messages
Total messages: 24 (11 generated)
|