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

Issue 1737443002: Make DeviceOrientationEvent.prototype.absolute non-nullable (Closed)

Created:
4 years, 10 months ago by philipj_slow
Modified:
4 years, 9 months ago
Reviewers:
Mike West, timvolodine
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, jam, jochen+watch_chromium.org, mlamouri+watch-test-runner_chromium.org, mlamouri+watch-sensors_chromium.org, mlamouri+watch-blink_chromium.org, Michael van Ouwerkerk, mvanouwerkerk+watch_chromium.org, riju_
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make DeviceOrientationEvent.prototype.absolute non-nullable This is to match the spec and Gecko: http://w3c.github.io/deviceorientation/spec-source-orientation.html#deviceorientation https://hg.mozilla.org/mozilla-central/file/85e218929a7a/dom/webidl/DeviceOrientationEvent.webidl BUG=460722 Committed: https://crrev.com/97906458b23205d57b35626955a33b67154d2e21 Cr-Commit-Position: refs/heads/master@{#378747}

Patch Set 1 #

Patch Set 2 : update tests #

Total comments: 12

Patch Set 3 : address feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -67 lines) Patch
M components/test_runner/test_runner.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/test_runner/test_runner.cc View 1 2 4 chunks +2 lines, -5 lines 0 comments Download
M content/browser/device_sensors/data_fetcher_shared_memory_mac.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/device_sensors/data_fetcher_shared_memory_win.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/device_sensors/sensor_manager_android.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/device_sensors/sensor_manager_chromeos.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/device_sensors/sensor_manager_chromeos_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/add-listener-from-callback.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/create-event.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/create-event-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/multiple-event-listeners.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/multiple-frames.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/no-synchronous-events.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/null-values.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/optional-event-properties.html View 1 2 chunks +12 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/optional-event-properties-expected.txt View 1 2 chunks +12 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/page-visibility.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/resources/basic-operation.js View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/DeviceOrientation/updates.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/device-orientation-success.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.h View 2 chunks +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp View 4 chunks +4 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.cpp View 2 chunks +3 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/device_orientation/DeviceOrientationEvent.idl View 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/device_orientation/DeviceOrientationInspectorAgent.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/public/platform/modules/device_orientation/WebDeviceOrientationData.h View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 31 (13 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/1737443002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1737443002/1
4 years, 10 months ago (2016-02-24 18:10:44 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/186200)
4 years, 10 months ago (2016-02-24 19:27:00 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1737443002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1737443002/20001
4 years, 10 months ago (2016-02-25 03:29:47 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/185531)
4 years, 10 months ago (2016-02-25 05:26:24 UTC) #8
philipj_slow
PTAL. I have done some ad-hoc testing on Android and found that there absolute is ...
4 years, 10 months ago (2016-02-26 03:47:58 UTC) #11
philipj_slow
By the way, the reason I'm poking at this is so that I can add ...
4 years, 10 months ago (2016-02-26 03:54:01 UTC) #12
philipj_slow
Ping timvolodine@
4 years, 9 months ago (2016-03-01 06:59:31 UTC) #13
timvolodine
lgtm % comments https://codereview.chromium.org/1737443002/diff/20001/content/browser/device_sensors/data_fetcher_shared_memory_mac.cc File content/browser/device_sensors/data_fetcher_shared_memory_mac.cc (left): https://codereview.chromium.org/1737443002/diff/20001/content/browser/device_sensors/data_fetcher_shared_memory_mac.cc#oldcode197 content/browser/device_sensors/data_fetcher_shared_memory_mac.cc:197: orientation_buffer_->data.hasAbsolute = true; On 2016/02/26 03:54:01, ...
4 years, 9 months ago (2016-03-01 22:36:26 UTC) #14
timvolodine
https://codereview.chromium.org/1737443002/diff/20001/components/test_runner/test_runner.cc File components/test_runner/test_runner.cc (right): https://codereview.chromium.org/1737443002/diff/20001/components/test_runner/test_runner.cc#newcode1005 components/test_runner/test_runner.cc:1005: args->GetNext(&absolute); oh hold on, actually don't think this is ...
4 years, 9 months ago (2016-03-01 22:46:02 UTC) #15
philipj_slow
https://codereview.chromium.org/1737443002/diff/20001/components/test_runner/test_runner.cc File components/test_runner/test_runner.cc (right): https://codereview.chromium.org/1737443002/diff/20001/components/test_runner/test_runner.cc#newcode1005 components/test_runner/test_runner.cc:1005: args->GetNext(&absolute); On 2016/03/01 22:46:01, timvolodine wrote: > oh hold ...
4 years, 9 months ago (2016-03-02 07:30:42 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1737443002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1737443002/40001
4 years, 9 months ago (2016-03-02 07:32:13 UTC) #18
philipj_slow
Mike, can you rubberstamp components/test_runner/test_runner.* please?
4 years, 9 months ago (2016-03-02 07:33:43 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-02 10:32:07 UTC) #22
Mike West
components/test_runner LGTM!
4 years, 9 months ago (2016-03-02 13:48:52 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1737443002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1737443002/40001
4 years, 9 months ago (2016-03-02 14:40:37 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-02 14:46:30 UTC) #28
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/97906458b23205d57b35626955a33b67154d2e21 Cr-Commit-Position: refs/heads/master@{#378747}
4 years, 9 months ago (2016-03-02 14:47:54 UTC) #30
timvolodine
4 years, 9 months ago (2016-03-02 19:48:34 UTC) #31
Message was sent while issue was closed.
On 2016/03/02 14:47:54, commit-bot: I haz the power wrote:
> Patchset 3 (id:??) landed as
> https://crrev.com/97906458b23205d57b35626955a33b67154d2e21
> Cr-Commit-Position: refs/heads/master@{#378747}

Thanks for cleaning this up Philip! now looks more like the spec :)

Powered by Google App Engine
This is Rietveld 408576698