Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1493753003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1493753003/20001
PTAL. I think the compat risk here seems very low, but you know best how these
APIs are likely to be used. If you're at all worried about breakage, please say
so!
Raymond Toy
https://codereview.chromium.org/1493753003/diff/20001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp File third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp (right): https://codereview.chromium.org/1493753003/diff/20001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp#newcode204 third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp:204: ASSERT(curve); In a release build, what should we do ...
If you're going to include links to the metrics, can you also include the
current rough percentages. The values in the links will change value over time.
Also, it might be useful to include a link to the AudioContext metric
(https://www.chromestatus.com/metrics/feature/timeline/popularity/652) to put
the percentages in the appropriate context.
Raymond Toy
On Fri, Dec 4, 2015 at 9:30 AM, <rtoy@chromium.org> wrote: > > > https://codereview.chromium.org/1493753003/diff/20001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp > ...
On 2015/12/04 17:32:53, Raymond Toy wrote:
> If you're going to include links to the metrics, can you also include the
> current rough percentages. The values in the links will change value over
time.
>
> Also, it might be useful to include a link to the AudioContext metric
> (https://www.chromestatus.com/metrics/feature/timeline/popularity/652) to put
> the percentages in the appropriate context.
Done, but see the new description for why the the AudioContext metric is not
reliable. Compare to the entirely useless window.offscreenBuffering, which sees
similar "usage", likely due to enumeration:
https://www.chromestatus.com/metrics/feature/timeline/popularity/356
philipj_slow
https://codereview.chromium.org/1493753003/diff/20001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp File third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp (right): https://codereview.chromium.org/1493753003/diff/20001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp#newcode204 third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp:204: ASSERT(curve); On 2015/12/04 17:30:42, Raymond Toy wrote: > In ...
https://codereview.chromium.org/1493753003/diff/20001/third_party/WebKit/Sour...
File third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp (right):
https://codereview.chromium.org/1493753003/diff/20001/third_party/WebKit/Sour...
third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp:204:
ASSERT(curve);
On 2015/12/04 17:30:42, Raymond Toy wrote:
> In a release build, what should we do if curve is null? This shouldn't
happen,
> but if it's worth putting in a debug assert we should think about the release
> build.
>
> Chris Rogers was fairly careful but silently returning on release builds for
bad
> situations like this.
Would you like me to revert all changes to cpp files, or something else? In all
other cases where bindings guarantees that the input is not null, I've checked
that there are no internal calls and ASSERTed it, to make responsibilities
clear, but I will do whatever you're most comfortable with.
Raymond Toy
lgtm. https://codereview.chromium.org/1493753003/diff/20001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp File third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp (right): https://codereview.chromium.org/1493753003/diff/20001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp#newcode204 third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp:204: ASSERT(curve); On 2015/12/04 18:31:57, philipj wrote: > On ...
lgtm.
https://codereview.chromium.org/1493753003/diff/20001/third_party/WebKit/Sour...
File third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp (right):
https://codereview.chromium.org/1493753003/diff/20001/third_party/WebKit/Sour...
third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp:204:
ASSERT(curve);
On 2015/12/04 18:31:57, philipj wrote:
> On 2015/12/04 17:30:42, Raymond Toy wrote:
> > In a release build, what should we do if curve is null? This shouldn't
> happen,
> > but if it's worth putting in a debug assert we should think about the
release
> > build.
> >
> > Chris Rogers was fairly careful but silently returning on release builds for
> bad
> > situations like this.
>
> Would you like me to revert all changes to cpp files, or something else? In
all
> other cases where bindings guarantees that the input is not null, I've checked
> that there are no internal calls and ASSERTed it, to make responsibilities
> clear, but I will do whatever you're most comfortable with.
Thanks for the info. I think this is fine, plus you've added additional tests
for this.
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1493753003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1493753003/20001
Issue 1493753003: Drop [LegacyInterfaceTypeChecking] for the Web Audio API
(Closed)
Created 5 years ago by philipj_slow
Modified 5 years ago
Reviewers: Ken Russell (switch to Gerrit), Raymond Toy, hongchan
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 3