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

Issue 2099213002: Web MIDI: prepare to deprecate MIDIMessageEvent::receivedTime (Closed)

Created:
4 years, 5 months ago by Takashi Toyoshima
Modified:
4 years, 5 months ago
CC:
blink-reviews, chromium-reviews, haraken, toyoshim+midi_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Web MIDI: prepare to deprecate MIDIMessageEvent::receivedTime Now that Event::timeStamp is equivalent to DOMHighResTimeStamp, WG decided to drop DOMHighResTimeStamp receivedTime attribute from MIDIMessageEvent. Our plan is to show a deprecate message on M54, then remove it completely on M56. This patch changes to show a deprecate message when JavaScript touches the receivedTime attribute. BUG=599335 Committed: https://crrev.com/b253a5c54917c2f7bd96f1acf2eeb7d3014a9288 Cr-Commit-Position: refs/heads/master@{#403756}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : : #

Patch Set 4 : one more test expectation #

Total comments: 4

Patch Set 5 : Use Deprecation #

Patch Set 6 : CallWith=ExecutionContext #

Total comments: 5

Patch Set 7 : DeprecateAs=MIDIMessageEventReceivedTime #

Total comments: 2

Patch Set 8 : update milestones #

Patch Set 9 : rebase #

Messages

Total messages: 31 (12 generated)
Takashi Toyoshima
ptal
4 years, 5 months ago (2016-06-28 05:33:15 UTC) #4
Takashi Toyoshima
+tkent who might be a better person to ask a process for deprecating a property.
4 years, 5 months ago (2016-06-29 05:14:38 UTC) #6
kouhei (in TOK)
https://codereview.chromium.org/2099213002/diff/60001/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html File third_party/WebKit/LayoutTests/webmidi/loopback-receive.html (right): https://codereview.chromium.org/2099213002/diff/60001/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html#newcode47 third_party/WebKit/LayoutTests/webmidi/loopback-receive.html:47: shouldBeDefined(receivedTimeIsDefined); This is evaled. See: https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/battery-status/api-defined.html?q=shouldbedefined&sq=package:chromium&dr=C&l=23 https://codereview.chromium.org/2099213002/diff/60001/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.cpp File third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.cpp ...
4 years, 5 months ago (2016-06-29 05:25:32 UTC) #7
tkent
Do you have a UseCounter for receivedTime? We can't deprecate anything without data. You need ...
4 years, 5 months ago (2016-06-29 05:26:48 UTC) #8
Takashi Toyoshima
#8 We do not have a 'receivedTime' specific data, but have a UseCounter for navigator.requestMIDIAccess() ...
4 years, 5 months ago (2016-06-29 05:34:33 UTC) #9
Takashi Toyoshima
Intent to Deprecate was sent out: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/zOMo62KH8ns
4 years, 5 months ago (2016-06-29 08:47:00 UTC) #10
Takashi Toyoshima
CL was updated to use Deprecation infra and CallWith=ExecutionContext instead of ScriptState. https://codereview.chromium.org/2099213002/diff/60001/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html File third_party/WebKit/LayoutTests/webmidi/loopback-receive.html ...
4 years, 5 months ago (2016-06-30 10:12:18 UTC) #11
kouhei (in TOK)
https://codereview.chromium.org/2099213002/diff/100001/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html File third_party/WebKit/LayoutTests/webmidi/loopback-receive.html (right): https://codereview.chromium.org/2099213002/diff/100001/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html#newcode47 third_party/WebKit/LayoutTests/webmidi/loopback-receive.html:47: shouldBeDefined(receivedTimeIsDefined); How about shouldBeTrue("e.receivedTime !== undefined")? https://codereview.chromium.org/2099213002/diff/100001/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl File third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl ...
4 years, 5 months ago (2016-06-30 12:40:45 UTC) #12
Takashi Toyoshima
https://codereview.chromium.org/2099213002/diff/100001/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html File third_party/WebKit/LayoutTests/webmidi/loopback-receive.html (right): https://codereview.chromium.org/2099213002/diff/100001/third_party/WebKit/LayoutTests/webmidi/loopback-receive.html#newcode47 third_party/WebKit/LayoutTests/webmidi/loopback-receive.html:47: shouldBeDefined(receivedTimeIsDefined); On 2016/06/30 12:40:45, kouhei wrote: > How about ...
4 years, 5 months ago (2016-07-01 06:50:23 UTC) #13
tkent
lgtm https://codereview.chromium.org/2099213002/diff/120001/third_party/WebKit/Source/core/frame/Deprecation.cpp File third_party/WebKit/Source/core/frame/Deprecation.cpp (right): https://codereview.chromium.org/2099213002/diff/120001/third_party/WebKit/Source/core/frame/Deprecation.cpp#newcode390 third_party/WebKit/Source/core/frame/Deprecation.cpp:390: return willBeRemoved("MIDIMessageEvent.receivedTime", 54, "5665772797952000"); Now the ToT is ...
4 years, 5 months ago (2016-07-01 06:56:22 UTC) #14
Takashi Toyoshima
https://codereview.chromium.org/2099213002/diff/100001/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl File third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl (right): https://codereview.chromium.org/2099213002/diff/100001/third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl#newcode39 third_party/WebKit/Source/modules/webmidi/MIDIMessageEvent.idl:39: [CallWith=ExecutionContext] readonly attribute double receivedTime; https://sites.google.com/a/chromium.org/dev/blink?pli=1#TOC-Launch-Process:-Deprecation I slightly update ...
4 years, 5 months ago (2016-07-01 07:26:59 UTC) #16
Takashi Toyoshima
+Ilya though my change in histograms.xml was autogened.
4 years, 5 months ago (2016-07-01 07:28:01 UTC) #18
Ilya Sherman
histograms.xml lgtm
4 years, 5 months ago (2016-07-01 16:39:56 UTC) #19
kouhei (in TOK)
lgtm
4 years, 5 months ago (2016-07-04 00:27:08 UTC) #20
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/2099213002/160001
4 years, 5 months ago (2016-07-05 07:02:47 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/98401)
4 years, 5 months ago (2016-07-05 07:48:29 UTC) #25
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/2099213002/160001
4 years, 5 months ago (2016-07-05 08:28:52 UTC) #27
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 5 months ago (2016-07-05 09:03:30 UTC) #29
commit-bot: I haz the power
4 years, 5 months ago (2016-07-05 09:05:16 UTC) #31
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/b253a5c54917c2f7bd96f1acf2eeb7d3014a9288
Cr-Commit-Position: refs/heads/master@{#403756}

Powered by Google App Engine
This is Rietveld 408576698