OLD | NEW |
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, 2999) threw exception IndexSizeEr
ror: Failed to construct 'OfflineAudioContext': The sampleRate provided (2999) i
s outside the range [3000, 384000].. | 7 PASS context = new OfflineAudioContext(2, 512, 2999) threw exception IndexSizeEr
ror: Failed to construct 'OfflineAudioContext': The sampleRate provided (2999) i
s outside the range [3000, 384000].. |
8 PASS context = new OfflineAudioContext(2, 512, 3000) did not throw exception. | 8 PASS context = new OfflineAudioContext(2, 512, 3000) did not throw exception. |
9 PASS context.length is 512 | 9 PASS context.length is 512 |
10 PASS context = new OfflineAudioContext(2, 1024, 384000) did not throw exception. | 10 PASS context = new OfflineAudioContext(2, 1024, 384000) did not throw exception. |
(...skipping 18 matching lines...) Expand all Loading... |
29 PASS context = new OfflineAudioContext(1, 0, Infinity) threw exception TypeError
: Failed to construct 'OfflineAudioContext': The provided float value is non-fin
ite.. | 29 PASS context = new OfflineAudioContext(1, 0, Infinity) threw exception TypeError
: Failed to construct 'OfflineAudioContext': The provided float value is non-fin
ite.. |
30 PASS context = new OfflineAudioContext(7, 512, 48000) did not throw exception. | 30 PASS context = new OfflineAudioContext(7, 512, 48000) did not throw exception. |
31 PASS context.destination.channelCount is 7 | 31 PASS context.destination.channelCount is 7 |
32 PASS context.destination.maxChannelCount is 7 | 32 PASS context.destination.maxChannelCount is 7 |
33 PASS context.destination.channelCountMode is "explicit" | 33 PASS context.destination.channelCountMode is "explicit" |
34 PASS context.destination.channelInterpretation is "speakers" | 34 PASS context.destination.channelInterpretation is "speakers" |
35 PASS successfullyParsed is true | 35 PASS successfullyParsed is true |
36 | 36 |
37 TEST COMPLETE | 37 TEST COMPLETE |
38 | 38 |
OLD | NEW |