Index: LayoutTests/webaudio/decode-audio-data-promise-expected.txt |
diff --git a/LayoutTests/webaudio/decode-audio-data-promise-expected.txt b/LayoutTests/webaudio/decode-audio-data-promise-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ce15cb7f4c24e44342360bcb5178144144c6b817 |
--- /dev/null |
+++ b/LayoutTests/webaudio/decode-audio-data-promise-expected.txt |
@@ -0,0 +1,18 @@ |
+Basic tests for decodeAudioData promise. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS decodeAudioData(null) correctly rejected promise: NotSupportedError: invalid ArrayBuffer for audioData. |
+PASS Decode valid file with promise: Correctly succeeded in decoding resources/media/24bit-44khz.wav |
+PASS Decode invalid file with promise: Correctly failed to decode resources/media/invalid-audio-file.txt: EncodingError: Unable to decode audio data |
+PASS Decoding valid file with promise and callback: successCallback invoked correctly |
+PASS Decoding valid file with promise and callback: Promise correctly fulfilled |
+PASS Decoding valid file with promise and callback: Promise and successCallback returned the same buffer |
+PASS Decoding invalid file with promise and callback: errorCallback invoked correctly with: EncodingError: Unable to decode audio data |
+PASS Decoding invalid file with promise and callback: Promise correctly rejected with: EncodingError: Unable to decode audio data |
+PASS Correctly decoded data after the context has been closed |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |