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

Issue 1000173002: Fix measurement of DeviceMotion and DeviceOrientation on secure origins. (Closed)

Created:
5 years, 9 months ago by timvolodine
Modified:
5 years, 9 months ago
Reviewers:
Mike West
CC:
blink-reviews, Inactive, mlamouri+watch-blink_chromium.org, mvanouwerkerk+watch_chromium.org, timvolodine
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fix measurement of DeviceMotion and DeviceOrientation on secure origins. The current code actually logs all eventTypes in didAddEventListener, while we only need to record the data for the relevant eventTypes, i.e. devicemotion or deviceorientation. BUG=447525 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191842

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M Source/modules/device_orientation/DeviceMotionController.cpp View 1 chunk +3 lines, -0 lines 2 comments Download
M Source/modules/device_orientation/DeviceOrientationController.cpp View 1 chunk +3 lines, -0 lines 2 comments Download

Messages

Total messages: 7 (2 generated)
timvolodine
5 years, 9 months ago (2015-03-12 17:15:58 UTC) #2
Mike West
LGTM, assuming that the side-effects of the early return are intentional. Thanks for taking a ...
5 years, 9 months ago (2015-03-12 21:25:12 UTC) #3
timvolodine
thanks, yeah I came across this unintentionally while trying to debug something else.. https://codereview.chromium.org/1000173002/diff/1/Source/modules/device_orientation/DeviceMotionController.cpp File ...
5 years, 9 months ago (2015-03-13 11:40:55 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1000173002/1
5 years, 9 months ago (2015-03-13 12:12:41 UTC) #6
commit-bot: I haz the power
5 years, 9 months ago (2015-03-13 13:36:32 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=191842

Powered by Google App Engine
This is Rietveld 408576698