DescriptionWebAudio 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 : #
Messages
Total messages: 5 (0 generated)
|