blob: dea2c4218d750397b20e639562148b77a8c07b1c [file] [log] [blame] [edit]
Tests attribute and maximum allowed delay of DelayNode.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS context.createDelay(180) threw exception NotSupportedError: maxDelayTime should be less than 180.
PASS context.createDelay(0) threw exception NotSupportedError: maxDelayTime should be a positive value.
PASS context.createDelay(-1) threw exception NotSupportedError: maxDelayTime should be a positive value.
PASS context.createDelay(NaN) threw exception TypeError: The provided value is non-finite.
PASS delay.delayTime.value === 0.5 is true
PASS Test signal was correctly delayed by 0.5 sec.
PASS successfullyParsed is true
TEST COMPLETE