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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt

Issue 2013623002: Set channelCount and maxChannelCount correctly for OfflineAudioContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
1 Tests the OfflineAudioContext constructor 1 Tests the OfflineAudioContext constructor
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 new OfflineAudioContext(1, 0, 44100) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': number of frames cannot be zero.. 6 PASS new OfflineAudioContext(1, 0, 44100) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': number of frames cannot be zero..
7 PASS context = new OfflineAudioContext(2, 512, 3000) did not throw exception. 7 PASS context = new OfflineAudioContext(2, 512, 3000) did not throw exception.
8 PASS context.length is 512 8 PASS context.length is 512
9 PASS context = new OfflineAudioContext(2, 1024, 192000) did not throw exception. 9 PASS context = new OfflineAudioContext(2, 1024, 192000) did not throw exception.
10 PASS context.length is 1024 10 PASS context.length is 1024
11 PASS context = new OfflineAudioContext(2, 2048, 8000) did not throw exception. 11 PASS context = new OfflineAudioContext(2, 2048, 8000) did not throw exception.
12 PASS context.length is 2048 12 PASS context.length is 2048
13 PASS context = new OfflineAudioContext(2, 4096, 11025) did not throw exception. 13 PASS context = new OfflineAudioContext(2, 4096, 11025) did not throw exception.
14 PASS context.length is 4096 14 PASS context.length is 4096
15 PASS context = new OfflineAudioContext(2, 512, 22050) did not throw exception. 15 PASS context = new OfflineAudioContext(2, 512, 22050) did not throw exception.
16 PASS context.length is 512 16 PASS context.length is 512
17 PASS context = new OfflineAudioContext(2, 512, 44100) did not throw exception. 17 PASS context = new OfflineAudioContext(2, 512, 44100) did not throw exception.
18 PASS context.length is 512 18 PASS context.length is 512
19 PASS context = new OfflineAudioContext(2, 512, 48000) did not throw exception. 19 PASS context = new OfflineAudioContext(2, 512, 48000) did not throw exception.
20 PASS context.length is 512 20 PASS context.length is 512
21 PASS context = new OfflineAudioContext(2, 512, 88200) did not throw exception. 21 PASS context = new OfflineAudioContext(2, 512, 88200) did not throw exception.
22 PASS context.length is 512 22 PASS context.length is 512
23 PASS context.length = 99 did not throw exception. 23 PASS context.length = 99 did not throw exception.
24 PASS context.length is 512 24 PASS context.length is 512
25 PASS context = new OfflineAudioContext(2, 512, 96000) did not throw exception. 25 PASS context = new OfflineAudioContext(2, 512, 96000) did not throw exception.
26 PASS context = new OfflineAudioContext(1, 0, NaN) threw exception TypeError: Fai led to construct 'OfflineAudioContext': The provided float value is non-finite.. 26 PASS context = new OfflineAudioContext(1, 0, NaN) threw exception TypeError: Fai led to construct 'OfflineAudioContext': The provided float value is non-finite..
27 PASS context = new OfflineAudioContext(1, 0, Infinite) threw exception Reference Error: Infinite is not defined. 27 PASS context = new OfflineAudioContext(1, 0, Infinity) threw exception TypeError : Failed to construct 'OfflineAudioContext': The provided float value is non-fin ite..
28 PASS context = new OfflineAudioContext(7, 512, 48000) did not throw exception.
29 PASS context.destination.channelCount is 7
30 PASS context.destination.maxChannelCount is 7
31 PASS context.destination.channelCountMode is "explicit"
32 PASS context.destination.channelInterpretation is "speakers"
28 PASS successfullyParsed is true 33 PASS successfullyParsed is true
29 34
30 TEST COMPLETE 35 TEST COMPLETE
31 36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698