Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: LayoutTests/webaudio/decode-audio-data-promise-expected.txt

Issue 1006963003: AudioContext.decodeAudioData returns a Promise (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Compile with oilpan Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
+

Powered by Google App Engine
This is Rietveld 408576698