DescriptionFix crash when the OfflineAudioContext constructor is given 0 as numberOfFrames
Fix crash when the OfflineAudioContext constructor is given 0 as numberOfFrames.
The constructor now throws an exception in this case since we cannot construct
an AudioBuffer with zero frames.
R=kbr@chromium.org
BUG=306536
TEST=webaudio/offlineaudiocontext-constructor.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159499
Patch Set 1 #
Total comments: 6
Patch Set 2 : Fix nits #
Messages
Total messages: 10 (0 generated)
|