blob: 497fcffe90067c424e6fa28182f8f583366ec0f1 [file] [log] [blame]
CONSOLE MESSAGE: Failed to construct internal AudioBuffer with 1 channel(s), a sample rate of 8000 and a length of 4294967295.
Tests that we do not crash when trying to suspend an OfflineAudioContext with a bad buffer.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS context.sampleRate is 8000
PASS context.length is 4294967295
PASS context.state is "suspended"
PASS startRendering() promise should get rejected. rejected promise with NotSupportedError: Failed to create audio buffer.
PASS context.state is "suspended"
PASS successfullyParsed is true
TEST COMPLETE