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

Issue 2698723002: Add rappor logging for Device Orientation on security origins different from the main frame (Closed)

Created:
3 years, 10 months ago by timvolodine
Modified:
3 years, 9 months ago
CC:
chromium-reviews, mlamouri+watch-blink_chromium.org, blink-reviews, haraken, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add rappor logging for Device Orientation on security origins different from the main frame To address privacy/security concerns regaring exposing sensor related information on cross origin sub frames it has been suggested to restict usage of the api to frames with same origin as the main frame (crbug.com/523320, crbug.com/598674). As a first step towards applying this restriction this patch adds some rappor logging to assess the current usage of Device Orientation on cross origin frames. This is to ensure we don't break pages and to analyze existing cross-origin use cases of the API. BUG=598674 Review-Url: https://codereview.chromium.org/2698723002 Cr-Commit-Position: refs/heads/master@{#454373} Committed: https://chromium.googlesource.com/chromium/src/+/21a19aa03091e1b0b0be9ab87e97d86d15527b94

Patch Set 1 #

Total comments: 2

Patch Set 2 : add DEviceMotion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -2 lines) Patch
M third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp View 1 chunk +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp View 1 1 chunk +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/device_orientation/DeviceOrientationController.cpp View 1 chunk +8 lines, -1 line 0 comments Download
M tools/metrics/rappor/rappor.xml View 1 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
timvolodine
3 years, 10 months ago (2017-02-15 19:38:52 UTC) #2
timvolodine
Rick, what do you think? I've discussed this briefly some time ago with ojan@ and ...
3 years, 10 months ago (2017-02-17 19:47:02 UTC) #3
Rick Byers
LGTM, thanks - this will be interesting! We don't already have a UseCounter for this, ...
3 years, 10 months ago (2017-02-17 22:21:28 UTC) #4
timvolodine
https://codereview.chromium.org/2698723002/diff/1/third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp File third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp (right): https://codereview.chromium.org/2698723002/diff/1/third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp#newcode84 third_party/WebKit/Source/core/frame/DeviceSingleWindowEventController.cpp:84: return true; On 2017/02/17 22:21:28, Rick Byers wrote: > ...
3 years, 9 months ago (2017-02-28 15:48:15 UTC) #5
timvolodine
Thanks for the review! sorry for the delay. On 2017/02/17 22:21:28, Rick Byers wrote: > ...
3 years, 9 months ago (2017-02-28 15:49:59 UTC) #6
timvolodine
+isherman@: for rapport.xml
3 years, 9 months ago (2017-02-28 15:50:30 UTC) #8
timvolodine
On 2017/02/28 15:50:30, timvolodine wrote: > +isherman@: for rapport.xml ehh rappor.xml )
3 years, 9 months ago (2017-02-28 15:50:56 UTC) #9
timvolodine
FYI actually also added same thing for DeviceMotion
3 years, 9 months ago (2017-02-28 19:04:32 UTC) #12
Ilya Sherman
rappor.xml lgtm
3 years, 9 months ago (2017-03-01 00:45:50 UTC) #15
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/2698723002/20001
3 years, 9 months ago (2017-03-02 19:29:46 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 21:04:36 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/21a19aa03091e1b0b0be9ab87e97...

Powered by Google App Engine
This is Rietveld 408576698