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

Issue 235653002: WebAudio createBuffer should throw error with 0 channels. (Closed)

Created:
6 years, 8 months ago by Raymond Toy
Modified:
6 years, 7 months ago
CC:
blink-reviews, Raymond Toy
Visibility:
Public.

Description

WebAudio createBuffer should throw error with 0 channels. Also moved the testing for invalid values from AudioContext::createBuffer to AudioBuffer::create, which knows what the valid ranges are instead of having the tests in both AudioBuffer::create and AudioContext::createBuffer. Test case added for createBuffer(0,...). BUG=362657 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173689

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -31 lines) Patch
M LayoutTests/webaudio/dom-exceptions.html View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/webaudio/dom-exceptions-expected.txt View 1 chunk +5 lines, -4 lines 0 comments Download
M Source/modules/webaudio/AudioBuffer.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/webaudio/AudioBuffer.cpp View 3 chunks +55 lines, -1 line 0 comments Download
M Source/modules/webaudio/AudioContext.cpp View 1 chunk +1 line, -26 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Raymond Toy
PTAL
6 years, 7 months ago (2014-05-08 19:15:15 UTC) #1
Ken Russell (switch to Gerrit)
lgtm
6 years, 7 months ago (2014-05-08 21:33:14 UTC) #2
Raymond Toy
The CQ bit was checked by rtoy@chromium.org
6 years, 7 months ago (2014-05-08 21:52:38 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtoy@chromium.org/235653002/20001
6 years, 7 months ago (2014-05-08 21:53:52 UTC) #4
commit-bot: I haz the power
6 years, 7 months ago (2014-05-08 22:10:05 UTC) #5
Message was sent while issue was closed.
Change committed as 173689

Powered by Google App Engine
This is Rietveld 408576698