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

Unified 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, 5 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt
diff --git a/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt b/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt
index fd1c0b27f5242ef582511a4f39d1328311c7ca08..69224c92d4a143cf63aa3bb26e74231f1436e3ad 100644
--- a/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt
+++ b/LayoutTests/webaudio/offlineaudiocontext-constructor-expected.txt
@@ -4,6 +4,14 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS new OfflineAudioContext(1, 0, 44100) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': number of frames cannot be zero..
+PASS new OfflineAudioContext(2, 512, 4000) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': sample rate (4000) must be in the range 8000-96000 Hz..
+PASS new OfflineAudioContext(2, 512, 98000) threw exception SyntaxError: Failed to construct 'OfflineAudioContext': sample rate (98000) must be in the range 8000-96000 Hz..
+PASS new OfflineAudioContext(2, 512, 8000) did not throw exception.
+PASS new OfflineAudioContext(2, 512, 11025) did not throw exception.
+PASS new OfflineAudioContext(2, 512, 22050) did not throw exception.
+PASS new OfflineAudioContext(2, 512, 44100) did not throw exception.
+PASS new OfflineAudioContext(2, 512, 88200) did not throw exception.
+PASS new OfflineAudioContext(2, 512, 96000) did not throw exception.
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698