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

Unified Diff: LayoutTests/webaudio/decode-audio-data-basic-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
Index: LayoutTests/webaudio/decode-audio-data-basic-expected.txt
diff --git a/LayoutTests/webaudio/decode-audio-data-basic-expected.txt b/LayoutTests/webaudio/decode-audio-data-basic-expected.txt
index 9b5a6282f04ec86c1d7778814a54f5187d5fc057..d799e300c3ed5e58c0d9ef3bea7a2dbeb7775bf1 100644
--- a/LayoutTests/webaudio/decode-audio-data-basic-expected.txt
+++ b/LayoutTests/webaudio/decode-audio-data-basic-expected.txt
@@ -1,9 +1,10 @@
+CONSOLE ERROR: line 21: Uncaught (in promise) NotSupportedError: invalid ArrayBuffer for audioData.
Basic tests for decodeAudioData function.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS decodeAudioData raises exception correctly when arraybuffer parameter is null.
+PASS decodeAudioData(null) invoked errorCallback correctly: NotSupportedError: invalid ArrayBuffer for audioData.
PASS The resources/media/24bit-44khz.wav test: successCallback has been called correctly.
PASS The resources/media/invalid-audio-file.txt test: errorCallback has been called correctly.
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/webaudio/decode-audio-data-basic.html ('k') | LayoutTests/webaudio/decode-audio-data-promise.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698