Index: third_party/WebKit/LayoutTests/webaudio/dom-exceptions.html |
diff --git a/third_party/WebKit/LayoutTests/webaudio/dom-exceptions.html b/third_party/WebKit/LayoutTests/webaudio/dom-exceptions.html |
index a8e5a9735c2cbb73752aaf2b9e142bef9d383d97..2d5585c7277f45afb12cf8151e06e9f41945b7a8 100644 |
--- a/third_party/WebKit/LayoutTests/webaudio/dom-exceptions.html |
+++ b/third_party/WebKit/LayoutTests/webaudio/dom-exceptions.html |
@@ -42,10 +42,13 @@ function runTest() { |
shouldThrow("context.createBuffer(0, 1, context.sampleRate)"); |
// Invalid sample rate: NotSupportedError |
shouldThrow("context.createBuffer(1, 1, 1)"); |
+ shouldThrow("context.createBuffer(1, 1, 2999)"); |
+ shouldThrow("context.createBuffer(1, 1, 384001)"); |
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)"); |
+ shouldNotThrow("context.createBuffer(1, 1, 384000)"); |
// Invalid number of frames: NotSupportedError |
shouldThrow("context.createBuffer(1, 0, context.sampleRate)"); |
// 2-arg createBuffer not allowed. |