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

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: Fix idl; small cleanups Created 5 years, 9 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..60fccfc0d9286b382c4b4dfc8ee152ed58e28002
--- /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
+PASS Correctly failed to decode: InvalidStateError: Audio context is going away
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698