Index: LayoutTests/webaudio/dom-exceptions.html |
diff --git a/LayoutTests/webaudio/dom-exceptions.html b/LayoutTests/webaudio/dom-exceptions.html |
index 517169284e82f9be20de3511e0edc2a45b2ec699..dc591a011bae82c9d5e8999967f8b23b163f8e7c 100644 |
--- a/LayoutTests/webaudio/dom-exceptions.html |
+++ b/LayoutTests/webaudio/dom-exceptions.html |
@@ -168,6 +168,9 @@ function runTest() { |
buffer = context.createBuffer(1,1, context.sampleRate); |
shouldNotThrow("source = context.createBufferSource()"); |
shouldNotThrow("source.buffer = buffer"); |
+ // Setting the buffer twice will eventually throw an error, but for now, it's just a deprecation |
+ // warning. |
+ shouldNotThrow("source.buffer = context.createBuffer(1, 10, context.sampleRate)"); |
shouldThrow("source.start(-1)"); |
shouldThrow("source.start(Infinity)"); |
shouldThrow("source.start(-Infinity)"); |