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

Issue 2394703003: Add deprecation messages to deprecated parts of the WebVR API. (Closed)

Created:
4 years, 2 months ago by billorr
Modified:
4 years ago
CC:
chromium-reviews, blink-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add deprecation messages to deprecated parts of the WebVR API. VRDisplay.getPose() and VREyeParameters.fieldOfView are marked as deprecated, so we'll report appropriate deprecation warnings in the console. This change also adds metrics for secure vs. insecure origin access to WebVR APIs. BUG=389343 Committed: https://crrev.com/ed6ea17321313ae71b507c89bfec5ba8dda372c6 Cr-Commit-Position: refs/heads/master@{#423885}

Patch Set 1 #

Total comments: 18

Patch Set 2 : CR feedback #

Patch Set 3 : Address further CR feedback #

Patch Set 4 : Sync to latest #

Patch Set 5 : Sync/Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -7 lines) Patch
M third_party/WebKit/Source/core/frame/Deprecation.cpp View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/NavigatorVR.cpp View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRDisplay.cpp View 1 2 3 4 2 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRDisplay.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vr/VREyeParameters.idl View 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (23 generated)
amp
https://codereview.chromium.org/2394703003/diff/1/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp File third_party/WebKit/Source/modules/vr/NavigatorVR.cpp (right): https://codereview.chromium.org/2394703003/diff/1/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp#newcode68 third_party/WebKit/Source/modules/vr/NavigatorVR.cpp:68: UseCounter::count(*document, UseCounter::VRGetDisplays); Shouldn't this be removed since you are ...
4 years, 2 months ago (2016-10-05 20:43:14 UTC) #1
billorr
https://codereview.chromium.org/2394703003/diff/1/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp File third_party/WebKit/Source/modules/vr/NavigatorVR.cpp (right): https://codereview.chromium.org/2394703003/diff/1/third_party/WebKit/Source/modules/vr/NavigatorVR.cpp#newcode68 third_party/WebKit/Source/modules/vr/NavigatorVR.cpp:68: UseCounter::count(*document, UseCounter::VRGetDisplays); On 2016/10/05 20:43:14, amp wrote: > Shouldn't ...
4 years, 2 months ago (2016-10-05 21:01:04 UTC) #2
ddorwin
https://codereview.chromium.org/2394703003/diff/1/third_party/WebKit/Source/core/frame/Deprecation.cpp File third_party/WebKit/Source/core/frame/Deprecation.cpp (right): https://codereview.chromium.org/2394703003/diff/1/third_party/WebKit/Source/core/frame/Deprecation.cpp#newcode404 third_party/WebKit/Source/core/frame/Deprecation.cpp:404: return String::format("VREyeParameters.fieldOfView is deprecated and will be removed in ...
4 years, 2 months ago (2016-10-05 21:32:43 UTC) #4
billorr
https://codereview.chromium.org/2394703003/diff/1/third_party/WebKit/Source/core/frame/Deprecation.cpp File third_party/WebKit/Source/core/frame/Deprecation.cpp (right): https://codereview.chromium.org/2394703003/diff/1/third_party/WebKit/Source/core/frame/Deprecation.cpp#newcode404 third_party/WebKit/Source/core/frame/Deprecation.cpp:404: return String::format("VREyeParameters.fieldOfView is deprecated and will be removed in ...
4 years, 2 months ago (2016-10-05 21:55:27 UTC) #5
billorr
All outstanding feedback is addressed. https://codereview.chromium.org/2394703003/diff/1/third_party/WebKit/Source/core/frame/Deprecation.cpp File third_party/WebKit/Source/core/frame/Deprecation.cpp (right): https://codereview.chromium.org/2394703003/diff/1/third_party/WebKit/Source/core/frame/Deprecation.cpp#newcode404 third_party/WebKit/Source/core/frame/Deprecation.cpp:404: return String::format("VREyeParameters.fieldOfView is deprecated ...
4 years, 2 months ago (2016-10-05 22:47:55 UTC) #6
ddorwin
lgtm Thanks.
4 years, 2 months ago (2016-10-05 23:02:01 UTC) #10
billorr
kbr@chromium.org: Please review changes in all files except histograms.xml haraken@chromium.org: Please review changes in histograms.xml
4 years, 2 months ago (2016-10-06 00:35:11 UTC) #18
haraken
On 2016/10/06 00:35:11, billorr wrote: > mailto:kbr@chromium.org: Please review changes in all files except histograms.xml ...
4 years, 2 months ago (2016-10-06 00:44:06 UTC) #19
billorr
On 2016/10/06 00:35:11, billorr wrote: > mailto:kbr@chromium.org: Please review changes in all files except histograms.xml ...
4 years, 2 months ago (2016-10-06 15:46:45 UTC) #22
Ken Russell (switch to Gerrit)
LGTM if these changes have been tested and match the spec.
4 years, 2 months ago (2016-10-07 02:45:03 UTC) #27
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/2394703003/70001
4 years, 2 months ago (2016-10-07 16:44:54 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:70001)
4 years, 2 months ago (2016-10-07 16:50:33 UTC) #34
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/ed6ea17321313ae71b507c89bfec5ba8dda372c6 Cr-Commit-Position: refs/heads/master@{#423885}
4 years, 2 months ago (2016-10-07 16:53:49 UTC) #36
foolip
4 years ago (2016-11-24 09:16:41 UTC) #37
Message was sent while issue was closed.
billorr@, can you please send and Intent to Deprecate and Remove to blink-dev to
decide on a date for removal? Lately we've been trying to avoid deprecation
messages with no removal milestone, as they can tend to stay around forever,
whereas ones with dates attached are audited periodically.

Powered by Google App Engine
This is Rietveld 408576698