haikuwebkit/LayoutTests/webaudio/delaynode-maxdelaylimit-exp...

14 lines
595 B
Plaintext

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 delay.delayTime.value === 0.5 is true
PASS Test signal was correctly delayed by 0.5 sec.
PASS successfullyParsed is true
TEST COMPLETE