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

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: Update for review 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
« no previous file with comments | « LayoutTests/webaudio/decode-audio-data-promise.html ('k') | LayoutTests/webaudio/dom-exceptions.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+
« no previous file with comments | « LayoutTests/webaudio/decode-audio-data-promise.html ('k') | LayoutTests/webaudio/dom-exceptions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698