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

Issue 1387453002: Sync the DeviceOrientation and DeviceMotion interfaces with the spec (Closed)

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

Description

Sync the DeviceOrientation and DeviceMotion interfaces with the spec http://w3c.github.io/deviceorientation/spec-source-orientation.html Ther are no changes to the generated code, as a nullable readonly attribute is handled by bindings just like a non-nullable one. BUG=460722 R=timvolodine@chromium.org Committed: https://crrev.com/612459487662eacb45ee820fa49290d34f8e2bdd Cr-Commit-Position: refs/heads/master@{#353253}

Patch Set 1 #

Total comments: 5

Patch Set 2 : typo #

Patch Set 3 : less TODO #

Total comments: 2

Patch Set 4 : remove spec bug link #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -3 lines) Patch
M third_party/WebKit/Source/modules/device_orientation/DeviceAcceleration.idl View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.idl View 1 chunk +9 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.idl View 1 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/device_orientation/DeviceRotationRate.idl View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (3 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1387453002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1387453002/1
5 years, 2 months ago (2015-10-01 19:42:54 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-01 21:19:31 UTC) #4
philipj_slow
The bots are happy, PTAL :)
5 years, 2 months ago (2015-10-02 09:08:36 UTC) #5
timvolodine
thanks for looking into this philipj@, few comments below https://codereview.chromium.org/1387453002/diff/1/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.idl File third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.idl (right): https://codereview.chromium.org/1387453002/diff/1/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.idl#newcode28 third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.idl:28: ...
5 years, 2 months ago (2015-10-02 11:47:17 UTC) #6
philipj_slow
If you don't like the spec bug link I can remove it and come back ...
5 years, 2 months ago (2015-10-02 12:37:53 UTC) #7
timvolodine
https://codereview.chromium.org/1387453002/diff/1/third_party/WebKit/Source/modules/device_orientation/WindowDeviceMotion.idl File third_party/WebKit/Source/modules/device_orientation/WindowDeviceMotion.idl (right): https://codereview.chromium.org/1387453002/diff/1/third_party/WebKit/Source/modules/device_orientation/WindowDeviceMotion.idl#newcode6 third_party/WebKit/Source/modules/device_orientation/WindowDeviceMotion.idl:6: // https://github.com/w3c/deviceorientation/issues/17 On 2015/10/02 12:37:53, philipj wrote: > On ...
5 years, 2 months ago (2015-10-02 17:50:28 UTC) #8
timvolodine
On 2015/10/02 12:37:53, philipj wrote: > If you don't like the spec bug link I ...
5 years, 2 months ago (2015-10-02 17:51:29 UTC) #9
philipj_slow
OK, I've just linked to the spec bug without a TODO, and left the other ...
5 years, 2 months ago (2015-10-05 08:40:14 UTC) #10
timvolodine
thanks, apart from two comments looks ok to me ;) https://codereview.chromium.org/1387453002/diff/40001/third_party/WebKit/Source/modules/device_orientation/WindowDeviceMotion.idl File third_party/WebKit/Source/modules/device_orientation/WindowDeviceMotion.idl (right): https://codereview.chromium.org/1387453002/diff/40001/third_party/WebKit/Source/modules/device_orientation/WindowDeviceMotion.idl#newcode5 ...
5 years, 2 months ago (2015-10-06 18:22:07 UTC) #11
philipj_slow
Very well, I have removed the spec bug links, I'll instead track the discrepency using ...
5 years, 2 months ago (2015-10-08 14:57:39 UTC) #12
timvolodine
On 2015/10/08 14:57:39, philipj wrote: > Very well, I have removed the spec bug links, ...
5 years, 2 months ago (2015-10-08 16:25:18 UTC) #13
timvolodine
lgtm
5 years, 2 months ago (2015-10-08 16:25:26 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1387453002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1387453002/60001
5 years, 2 months ago (2015-10-09 08:39:30 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 2 months ago (2015-10-09 09:53:39 UTC) #17
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/612459487662eacb45ee820fa49290d34f8e2bdd Cr-Commit-Position: refs/heads/master@{#353253}
5 years, 2 months ago (2015-10-09 09:54:26 UTC) #18
philipj_slow
5 years, 2 months ago (2015-10-09 15:00:34 UTC) #19
Message was sent while issue was closed.
On 2015/10/08 16:25:18, timvolodine wrote:
> On 2015/10/08 14:57:39, philipj wrote:
> > Very well, I have removed the spec bug links, I'll instead track the
> discrepency
> > using the fact that these files don't have a spec URL in them.
> 
> Thanks! It's just that we should either fix the spec or put a todo to fix the
> Window* files. The spec does mention 'deviceorientation' event firing on
Window
> so that is kind of implicitly there (if that is what you meant by the
comments).

Right, it's the spec that should be fixed, I'm just in the habit of documenting
all differences with no attempt to differentiate between the trivial and the
tricky.

Powered by Google App Engine
This is Rietveld 408576698