blob: 1c4d6fdc207c23a2e9b94cf9fd509318170b5a89 [file] [log] [blame]
Basic tests for AudioNode API.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS context.state is "suspended"
node.connect(context.destination)
PASS context.state is "suspended"
Calling context.resume() without a user gesture
Wait for 100ms
Calling context.resume() with a user gesture
PASS context.resume() (without a user gesture) promise resolved
PASS context.state is "running"
PASS context.resume() (with a user gesture) promise resolved
PASS context.state is "running"
PASS successfullyParsed is true
TEST COMPLETE