-
Raymond Toy authored
The WebAudio spec says we must throw errors for a negative rolloffFactor and for a coneOuterGain outside the interval [0, 1]. Make it so. Also add some additional tests to ctor-panner.html to verify that a rolloffFactor of 0 or 100 do not throw errors and that a coneOuterGain of 0 or 1 do not throw errors. Remove invalid tests from panner-rolloff-clamping.html because negative rolloffFactor now throws an error. Finally remove text expectation for ctor-panner.html test, which passes now. Bug: 879845 Test: the-pannernode-interface/ctor-panner.html, the-pannernode-interface/panner-rolloff-clamping.html Change-Id: Ie90e9fe13e82fd3cc955060dc9e77266ef4ff591 Reviewed-on: https://chromium-review.googlesource.com/1205099 Commit-Queue: Raymond Toy <rtoy@chromium.org> Reviewed-by:
Hongchan Choi <hongchan@chromium.org> Reviewed-by:
Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#589045}
f22f8191