blob: 5222cd6d7b845defb3786ed52181c3389b1efcae [file] [log] [blame]
Tests that AnalyserNode validates minDecibels, maxDecibels and smoothingTimeConstant values.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS analyser.minDecibels = -20 threw exception IndexSizeError: minDecibels must be less than maxDecibels..
PASS analyser.maxDecibels = -120 threw exception IndexSizeError: maxDecibels must be greater than minDecibels..
PASS analyser.smoothingTimeConstant = 2 threw exception IndexSizeError: The index is not in the allowed range..
PASS successfullyParsed is true
TEST COMPLETE