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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/decode-audio-data-basic-expected.txt

Issue 2540373002: Merge M56: "Fail decodeAudioFileData() when duration is unknown." (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/decode-audio-data-basic.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Basic tests for decodeAudioData promise. 1 Basic tests for decodeAudioData promise.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS decodeAudioData(null) rejected correctly (with TypeError: Failed to execute 'decodeAudioData' on 'BaseAudioContext': parameter 1 is not of type 'ArrayBuffe r'.). 6 PASS decodeAudioData(null) rejected correctly (with TypeError: Failed to execute 'decodeAudioData' on 'BaseAudioContext': parameter 1 is not of type 'ArrayBuffe r'.).
7 PASS Decode valid file with promise: Correctly succeeded in decoding resources/m edia/24bit-44khz.wav 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 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 Decode invalid file with promise: Correctly failed to decode ../media/resou rces/test-live.webm: 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: 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 correctly fulfilled
11 PASS Decoding valid file with promise and callback: Promise and successCallback returned the same buffer 12 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: errorCallback invoked corr ectly with: EncodingError: Unable to decode audio data
13 PASS Decoding invalid file with promise and callback: rejected correctly (with E ncodingError: Unable to decode audio data). 14 PASS Decoding invalid file with promise and callback: rejected correctly (with E ncodingError: Unable to decode audio data).
14 PASS Decoded buffer length (frames) is equal to 44100. 15 PASS Decoded buffer length (frames) is equal to 44100.
15 PASS Decoded buffer duration (sec) is equal to 1. 16 PASS Decoded buffer duration (sec) is equal to 1.
16 PASS Decoded buffer rate (Hz) is equal to 44100. 17 PASS Decoded buffer rate (Hz) is equal to 44100.
17 PASS Number of channels in decoded buffer is equal to 1. 18 PASS Number of channels in decoded buffer is equal to 1.
18 PASS Decoded buffer channel 0 is identical to the array [0.0009765625,0.00134277 34375,0.001708984375,0.00177001953125,0.001922607421875,0.001953125,0.0022583007 8125,0.002166748046875,0.002349853515625,0.00250244140625,0.002532958984375,0.00 28076171875,0.00262451171875,0.0028076171875,0.002716064453125,0.0028076171875,. ..]. 19 PASS Decoded buffer channel 0 is identical to the array [0.0009765625,0.00134277 34375,0.001708984375,0.00177001953125,0.001922607421875,0.001953125,0.0022583007 8125,0.002166748046875,0.002349853515625,0.00250244140625,0.002532958984375,0.00 28076171875,0.00262451171875,0.0028076171875,0.002716064453125,0.0028076171875,. ..].
19 PASS Correctly decoded data after the context has been closed 20 PASS Correctly decoded data after the context has been closed
20 PASS successfullyParsed is true 21 PASS successfullyParsed is true
21 22
22 TEST COMPLETE 23 TEST COMPLETE
23 24
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/decode-audio-data-basic.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698