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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Basic tests for decodeAudioData promise.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS decodeAudioData(null) correctly rejected promise: NotSupportedError: invali d ArrayBuffer for audioData.
7 PASS Decode valid file with promise: Correctly succeeded in decoding resources/m edia/24bit-44khz.wav
8 PASS Decode invalid file with promise: Correctly failed to decode resources/medi a/invalid-audio-file.txt: EncodingError: Unable to decode audio data
9 PASS Decoding valid file with promise and callback: successCallback invoked corr ectly
10 PASS Decoding valid file with promise and callback: Promise correctly fulfilled
11 PASS Decoding valid file with promise and callback: Promise and successCallback returned the same buffer
12 PASS Decoding invalid file with promise and callback: errorCallback invoked corr ectly with: EncodingError: Unable to decode audio data
13 PASS Decoding invalid file with promise and callback: Promise correctly rejected with: EncodingError: Unable to decode audio data
14 PASS Correctly decoded data after the context has been closed
15 PASS successfullyParsed is true
16
17 TEST COMPLETE
18
OLDNEW
« 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