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

Issue 2640283004: Improve live region performance (Closed)

Created:
3 years, 11 months ago by David Tseng
Modified:
3 years, 11 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, alemate+watch_chromium.org, oshima+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, arv+watch_chromium.org, dtseng+watch_chromium.org, dmazzoni+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve live region performance Previously, we explicitly omitted alert nodes from being processed as live regions to address hangs in ChromeVox. - before this patch, ChromeVox would generate output for the same live region potentially the same number of times we get a tree change under the live region container; this could be thousands of times - we walked up the ancestry chain using a recursive call - we walked up the final container node's ancestry chain looking for a previously outputted live region Fixes: - walk up ancestry chain looking for the live region container first - move logic to check if the live region container was previously processed immediately after (without any tree walking since the map could only contain live region containers) TEST=manual on Gmail's keyboard shortcuts page (?). Delete a message with '#'. Verify appropriate alert output. BUG=681417 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2640283004 Cr-Commit-Position: refs/heads/master@{#445469} Committed: https://chromium.googlesource.com/chromium/src/+/82e8eb7b5935197660fe3ef05c8ef05e9e5d8c26

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -18 lines) Patch
M chrome/browser/resources/chromeos/chromevox/cvox2/background/live_regions.js View 2 chunks +18 lines, -18 lines 0 comments Download

Messages

Total messages: 10 (6 generated)
David Tseng
3 years, 11 months ago (2017-01-19 23:31:38 UTC) #4
dmazzoni
lgtm
3 years, 11 months ago (2017-01-23 18:43:02 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2640283004/1
3 years, 11 months ago (2017-01-23 19:15:21 UTC) #7
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 20:34:57 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/82e8eb7b5935197660fe3ef05c8e...

Powered by Google App Engine
This is Rietveld 408576698