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

Issue 26883005: Get rid of custom bindings for AudioBufferSourceNode.buffer setter (Closed)

Created:
7 years, 2 months ago by Inactive
Modified:
7 years, 2 months ago
CC:
blink-reviews, Nils Barth (inactive), kojih, jsbell+bindings_chromium.org, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, Nate Chapin
Visibility:
Public.

Description

Get rid of custom bindings for AudioBufferSourceNode.buffer setter Get rid of custom bindings for AudioBufferSourceNode.buffer setter by leveraging [StrictTypeChecking] IDL extended attribute and updating the implementation to throw if the input buffer is NULL or if the number of channels is too big. There is no web-exposed behavior change. R=haraken, kbr BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159490

Patch Set 1 #

Total comments: 1

Patch Set 2 : Improve exception message #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -70 lines) Patch
M LayoutTests/webaudio/audiobuffersource-channels.html View 1 chunk +2 lines, -1 line 0 comments Download
M LayoutTests/webaudio/audiobuffersource-channels-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M Source/bindings/bindings.gypi View 1 chunk +0 lines, -1 line 0 comments Download
D Source/bindings/v8/custom/V8AudioBufferSourceNodeCustom.cpp View 1 chunk +0 lines, -58 lines 0 comments Download
M Source/modules/webaudio/AudioBufferSourceNode.h View 1 1 chunk +2 lines, -3 lines 0 comments Download
M Source/modules/webaudio/AudioBufferSourceNode.cpp View 1 4 chunks +14 lines, -5 lines 0 comments Download
M Source/modules/webaudio/AudioBufferSourceNode.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
Inactive
7 years, 2 months ago (2013-10-10 21:54:49 UTC) #1
Ken Russell (switch to Gerrit)
LGTM but please wait for rtoy's review as well.
7 years, 2 months ago (2013-10-10 22:10:06 UTC) #2
Raymond Toy (Google)
LGTM with a nit https://codereview.chromium.org/26883005/diff/1/Source/modules/webaudio/AudioBufferSourceNode.cpp File Source/modules/webaudio/AudioBufferSourceNode.cpp (right): https://codereview.chromium.org/26883005/diff/1/Source/modules/webaudio/AudioBufferSourceNode.cpp#newcode360 Source/modules/webaudio/AudioBufferSourceNode.cpp:360: es.throwTypeError("AudioBuffer unsupported number of channels"); ...
7 years, 2 months ago (2013-10-10 22:40:56 UTC) #3
haraken
LGTM. Please address rtoy's comment before landing.
7 years, 2 months ago (2013-10-11 01:09:09 UTC) #4
Inactive
On 2013/10/10 22:40:56, rtoy wrote: > LGTM with a nit > > https://codereview.chromium.org/26883005/diff/1/Source/modules/webaudio/AudioBufferSourceNode.cpp > File ...
7 years, 2 months ago (2013-10-11 14:25:12 UTC) #5
Inactive
On 2013/10/11 14:25:12, Chris Dumez wrote: > On 2013/10/10 22:40:56, rtoy wrote: > > LGTM ...
7 years, 2 months ago (2013-10-11 14:27:41 UTC) #6
Raymond Toy (Google)
On 2013/10/11 14:27:41, Chris Dumez wrote: > On 2013/10/11 14:25:12, Chris Dumez wrote: > > ...
7 years, 2 months ago (2013-10-11 17:34:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/26883005/10001
7 years, 2 months ago (2013-10-11 18:00:54 UTC) #8
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=10526
7 years, 2 months ago (2013-10-11 22:20:58 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/26883005/10001
7 years, 2 months ago (2013-10-11 23:21:21 UTC) #10
commit-bot: I haz the power
7 years, 2 months ago (2013-10-12 00:24:20 UTC) #11
Message was sent while issue was closed.
Change committed as 159490

Powered by Google App Engine
This is Rietveld 408576698