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

Unified Diff: LayoutTests/webaudio/dom-exceptions.html

Issue 201673004: Allow createBuffer to support rates from 3-192 kHz. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/webaudio/dom-exceptions-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webaudio/dom-exceptions.html
diff --git a/LayoutTests/webaudio/dom-exceptions.html b/LayoutTests/webaudio/dom-exceptions.html
index d18575f6123821fb7769a86a1f1832e1a0782b65..bd19d19b8f588c865d1464fcdd9273eecfdee271 100644
--- a/LayoutTests/webaudio/dom-exceptions.html
+++ b/LayoutTests/webaudio/dom-exceptions.html
@@ -34,6 +34,9 @@ function runTest() {
// Invalid sample rate: NotSupportedError
shouldThrow("context.createBuffer(1, 1, 1)");
shouldThrow("context.createBuffer(1, 1, 1e6)");
+ // Check valid values from crbug.com/344375
+ shouldNotThrow("context.createBuffer(1, 1, 3000)");
+ shouldNotThrow("context.createBuffer(1, 1, 192000)");
// Invalid number of frames: NotSupportedError
shouldThrow("context.createBuffer(1, 0, context.sampleRate)");
// Invalid ArrayBuffer (unspecified error)
« no previous file with comments | « no previous file | LayoutTests/webaudio/dom-exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698