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

Issue 1493753003: Drop [LegacyInterfaceTypeChecking] for the Web Audio API (Closed)

Created:
5 years ago by philipj_slow
Modified:
5 years ago
CC:
chromium-reviews, blink-reviews, Raymond Toy
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Drop [LegacyInterfaceTypeChecking] for the Web Audio API This aligns Web Audio with what WebIDL requires given the IDL it uses. The risk of these changes is bounded by these use counters: AnalyserNode ~0.01%: https://www.chromestatus.com/metrics/feature/timeline/popularity/631 BiquadFilterNode ~0.001%: https://www.chromestatus.com/metrics/feature/timeline/popularity/632 ConvolverNode ~0.0001%: https://www.chromestatus.com/metrics/feature/timeline/popularity/636 OscillatorNode ~0.001%: https://www.chromestatus.com/metrics/feature/timeline/popularity/643 WaveShaperNode <0.0001%: https://www.chromestatus.com/metrics/feature/timeline/popularity/648 AudioParam.prototype.setValueCurveAtTime <0.0001%: https://www.chromestatus.com/metrics/feature/timeline/popularity/913 With such lower usage, fixing corner cases like this is unlikely to cause any trouble. Usage of AudioContext itself is at most ~0.2%, but that counter is not for the constructor but merely access to window.AudioContext, and thus not a good indicator of real usage: https://www.chromestatus.com/metrics/feature/timeline/popularity/652 BUG=561338 Committed: https://crrev.com/eb440261d8872ac47d0c826aa38fba055b9be866 Cr-Commit-Position: refs/heads/master@{#363297}

Patch Set 1 #

Patch Set 2 : update tests #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -31 lines) Patch
M third_party/WebKit/LayoutTests/webaudio/convolver-setBuffer-null.html View 1 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/convolver-setBuffer-null-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/dom-exceptions.html View 1 5 chunks +21 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webaudio/dom-exceptions-expected.txt View 1 4 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AnalyserNode.idl View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioParam.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp View 1 chunk +1 line, -0 lines 3 comments Download
M third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/BiquadFilterNode.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/ConvolverNode.idl View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/OscillatorNode.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/RealtimeAnalyser.cpp View 4 chunks +4 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/WaveShaperNode.idl View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 22 (9 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/1493753003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1493753003/20001
5 years ago (2015-12-04 10:49:55 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-04 12:09:37 UTC) #6
philipj_slow
PTAL. I think the compat risk here seems very low, but you know best how ...
5 years ago (2015-12-04 12:25:32 UTC) #8
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 ...
5 years ago (2015-12-04 17:30:42 UTC) #9
Raymond Toy
If you're going to include links to the metrics, can you also include the current ...
5 years ago (2015-12-04 17:32:53 UTC) #10
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 > ...
5 years ago (2015-12-04 17:43:38 UTC) #11
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 > ...
5 years ago (2015-12-04 17:43:38 UTC) #12
philipj_slow
On 2015/12/04 17:32:53, Raymond Toy wrote: > If you're going to include links to the ...
5 years ago (2015-12-04 18:24:10 UTC) #14
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 ...
5 years ago (2015-12-04 18:31:57 UTC) #15
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 ...
5 years ago (2015-12-04 21:06:26 UTC) #16
commit-bot: I haz the power
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
5 years ago (2015-12-04 21:14:15 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-04 21:20:54 UTC) #20
commit-bot: I haz the power
5 years ago (2015-12-04 21:22:23 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/eb440261d8872ac47d0c826aa38fba055b9be866
Cr-Commit-Position: refs/heads/master@{#363297}

Powered by Google App Engine
This is Rietveld 408576698