Chromium Code Reviews
DescriptionFix issues with sending tts queue lots of utterances
- $descendants for div's can be very expensive. For example, in Gmail, there is a focusable div that wraps almost the entire contents of the page. We end up generating Output for everything under the div and lag significantly when focus lands here.
Fix this by only taking the text content of divs as one large string. $descendants had all output including rich formatting.
- live region output on alerts causes double output (and similar lag). For example, pressing '?' in Gmail triggers hundreds of runs inside of LiveRegion.
Fix this by ignoring live regions set on alert nodes.
TEST=navigate in Gmail.
BUG=672955
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/a740f7ec72a6bf88e269f52c5561dd57ffde1589
Cr-Commit-Position: refs/heads/master@{#437925}
Patch Set 1 #Patch Set 2 : Fix issues with sending tts queue lots of utterances #Patch Set 3 : Fix issues with sending tts queue lots of utterances #
Messages
Total messages: 17 (12 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||