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 Decode valid file with promise: Correctly succeeded in decoding resources/m
edia/24bit-44khz.wav |
| 8 PASS Decode invalid file with promise: Correctly failed to decode resources/medi
a/invalid-audio-file.txt: EncodingError: Unable to decode audio data |
| 9 PASS Decoding valid file with promise and callback: successCallback invoked corr
ectly |
| 10 PASS Decoding valid file with promise and callback: Promise correctly fulfilled |
| 11 PASS Decoding valid file with promise and callback: Promise and successCallback
returned the same buffer |
| 12 PASS Decoding invalid file with promise and callback: errorCallback invoked corr
ectly with: EncodingError: Unable to decode audio data |
| 13 PASS Decoding invalid file with promise and callback: Promise correctly rejected
with: EncodingError: Unable to decode audio data |
| 14 PASS Correctly decoded data after the context has been closed |
| 15 PASS successfullyParsed is true |
| 16 |
| 17 TEST COMPLETE |
| 18 |
OLD | NEW |