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) |