setValueCurveAtTime([1], ...) should throw because the curve is too short. |
||
Issue descriptionWhat steps will reproduce the problem? (1) Run this: var c = new AudioContext(); var g = c.createGain(); g.gain.setValueCurveAtTime(Float32Array.from([1]), 0, 1) What is the expected output? An error should be thrown because the array is too short. See the description of the value array at http://webaudio.github.io/web-audio-api/#widl-AudioParam-setValueCurveAtTime-AudioParam-Float32Array-values-double-startTime-double-duration Arrays of length less than two should throw an error. What do you see instead? No error is thrown.
,
Jun 3 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jun 1 2016