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

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

Issue 375383002: Extending supported sample rate from 3.0KHz to 192.0KHz for OfflineAudioContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update layoutTest Created 6 years, 4 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 new OfflineAudioContext(2, 512, 4000) threw exception SyntaxError: Failed t o construct 'OfflineAudioContext': sample rate (4000) must be in the range 8000- 96000 Hz..
8 PASS new OfflineAudioContext(2, 512, 98000) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': sample rate (98000) must be in the range 800 0-96000 Hz..
9 PASS new OfflineAudioContext(2, 512, 8000) did not throw exception.
10 PASS new OfflineAudioContext(2, 512, 11025) did not throw exception.
11 PASS new OfflineAudioContext(2, 512, 22050) did not throw exception.
12 PASS new OfflineAudioContext(2, 512, 44100) did not throw exception.
13 PASS new OfflineAudioContext(2, 512, 88200) did not throw exception.
14 PASS new OfflineAudioContext(2, 512, 96000) did not throw exception.
7 PASS successfullyParsed is true 15 PASS successfullyParsed is true
8 16
9 TEST COMPLETE 17 TEST COMPLETE
10 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698