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

Issue 2016443003: mus: Don't allow SetEventObserver to monitor key events (Closed)

Created:
4 years, 7 months ago by James Cook
Modified:
4 years, 7 months ago
Reviewers:
Elliot Glaysher
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mus: Don't allow SetEventObserver to monitor key events It should only be allowed to monitor mouse/touch events. Otherwise a malicious or compromised app could spy on keystrokes for another app. BUG=614792 TEST=added to mus_ws_unittests Committed: https://crrev.com/ac96551d22ac7ff8389760422dd9641e72e878f0 Cr-Commit-Position: refs/heads/master@{#396032}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -11 lines) Patch
M components/mus/ws/window_tree.cc View 1 chunk +32 lines, -4 lines 0 comments Download
M components/mus/ws/window_tree_unittest.cc View 1 chunk +12 lines, -7 lines 1 comment Download

Messages

Total messages: 10 (3 generated)
James Cook
erg, please take a look. FYI - WindowTree::SetEventObserver() exists to implement the PointerWatcher feature I ...
4 years, 7 months ago (2016-05-25 20:59:41 UTC) #2
Elliot Glaysher
lgtm Maybe off topic: I do wonder about the accelerator stuff which also uses the ...
4 years, 7 months ago (2016-05-25 21:26:40 UTC) #3
rjkroege
On 2016/05/25 21:26:40, Elliot Glaysher wrote: > lgtm > > Maybe off topic: I do ...
4 years, 7 months ago (2016-05-25 22:26:58 UTC) #4
James Cook
On 2016/05/25 22:26:58, rjkroege wrote: > On 2016/05/25 21:26:40, Elliot Glaysher wrote: > > lgtm ...
4 years, 7 months ago (2016-05-25 23:00:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016443003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2016443003/1
4 years, 7 months ago (2016-05-25 23:02:43 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-25 23:10:10 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 23:12:37 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ac96551d22ac7ff8389760422dd9641e72e878f0
Cr-Commit-Position: refs/heads/master@{#396032}

Powered by Google App Engine
This is Rietveld 408576698