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

Issue 2552013003: Ensure spoken feedback keyboard hooks prevent re-injection of key up events (Closed)

Created:
4 years ago by David Tseng
Modified:
4 years 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

Ensure spoken feedback keyboard hooks prevent re-injection of key up events Due to the way we handle keyboard events, we need to explicitly handle prevention of both key down and key up events in js. If we do not, accelerators that happen to trigger via release e.g. the high contrast shortcut, will activate. BUG=668771 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/fa04240e9ca5c26709789a3ebfb5ed522a1d4355 Cr-Commit-Position: refs/heads/master@{#436653}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Ensure spoken feedback keyboard hooks prevent re-injection of key up events #

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

Messages

Total messages: 14 (8 generated)
David Tseng
4 years ago (2016-12-06 00:50:24 UTC) #4
dmazzoni
lgtm but I think the logic can be simpler https://codereview.chromium.org/2552013003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/keyboard_handler.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/keyboard_handler.js (right): https://codereview.chromium.org/2552013003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/keyboard_handler.js#newcode69 chrome/browser/resources/chromeos/chromevox/cvox2/background/keyboard_handler.js:69: ...
4 years ago (2016-12-06 07:25:23 UTC) #5
David Tseng
https://codereview.chromium.org/2552013003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/keyboard_handler.js File chrome/browser/resources/chromeos/chromevox/cvox2/background/keyboard_handler.js (right): https://codereview.chromium.org/2552013003/diff/1/chrome/browser/resources/chromeos/chromevox/cvox2/background/keyboard_handler.js#newcode69 chrome/browser/resources/chromeos/chromevox/cvox2/background/keyboard_handler.js:69: for (var i = 0; i < this.preventedKeys_.length; i++) ...
4 years ago (2016-12-06 16:55:53 UTC) #6
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/2552013003/20001
4 years ago (2016-12-06 17:09:11 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-06 18:37:54 UTC) #12
commit-bot: I haz the power
4 years ago (2016-12-06 18:40:32 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fa04240e9ca5c26709789a3ebfb5ed522a1d4355
Cr-Commit-Position: refs/heads/master@{#436653}

Powered by Google App Engine
This is Rietveld 408576698