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

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: 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 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 Correctly succeeded in decoding resources/media/24bit-44khz.wav
8 PASS Correctly failed to decode resources/media/invalid-audio-file.txt: Encoding Error: Unable to decode audio data
9 PASS Decoding valid file: Promise and successCallback succeeded with identical b uffers
10 PASS Decoding invalid file: Promise correctly rejected and errorCallback correct ly invoked
11 PASS Correctly failed to decode: InvalidStateError: Audio context is going away
12 PASS successfullyParsed is true
13
14 TEST COMPLETE
15
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698