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..9c22864e935ee478db8d165b4183889e791ae04a |
--- /dev/null |
+++ b/LayoutTests/webaudio/decode-audio-data-promise-expected.txt |
@@ -0,0 +1,15 @@ |
+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 Correctly succeeded in decoding resources/media/24bit-44khz.wav |
+PASS Correctly failed to decode resources/media/invalid-audio-file.txt: EncodingError: Unable to decode audio data |
+PASS Decoding valid file: Promise and successCallback succeeded with identical buffers |
+PASS Decoding invalid file: Promise correctly rejected and errorCallback correctly invoked: EncodingError: Unable to decode audio data |
+PASS Correctly decoded data after the context has been closed |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |