OLD | NEW |
(Empty) | |
| 1 Basic tests for decodeAudioData promise. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS decodeAudioData(null) correctly rejected promise: NotSupportedError: invali
d ArrayBuffer for audioData. |
| 7 PASS Correctly succeeded in decoding resources/media/24bit-44khz.wav |
| 8 PASS Correctly failed to decode resources/media/invalid-audio-file.txt: Encoding
Error: Unable to decode audio data |
| 9 PASS Decoding valid file: Promise and successCallback succeeded with identical b
uffers |
| 10 PASS Decoding invalid file: Promise correctly rejected and errorCallback correct
ly invoked: EncodingError: Unable to decode audio data |
| 11 PASS Correctly decoded data after the context has been closed |
| 12 PASS successfullyParsed is true |
| 13 |
| 14 TEST COMPLETE |
| 15 |
OLD | NEW |