Index: LayoutTests/webaudio/dom-exceptions.html |
diff --git a/LayoutTests/webaudio/dom-exceptions.html b/LayoutTests/webaudio/dom-exceptions.html |
index aaeaf87464a27836928a7c3e49ef223fd574739a..2725a705f1211b5438ce2ff0f06a28803db63329 100644 |
--- a/LayoutTests/webaudio/dom-exceptions.html |
+++ b/LayoutTests/webaudio/dom-exceptions.html |
@@ -117,6 +117,18 @@ function runTest() { |
// WaveShaper types |
node = context.createWaveShaper(); |
shouldThrow("node.oversample = '9x'"); |
+ |
+ // Start/stop for AudioBufferSourceNodes |
+ buffer = context.createBuffer(1,1, context.sampleRate); |
+ shouldNotThrow("source = context.createBufferSource()"); |
+ source.buffer = buffer; |
+ shouldNotThrow("source.start()"); |
+ shouldNotThrow("source.stop()"); |
+ |
+ // Start/stop for OscillatorNodes |
+ shouldNotThrow("source = context.createOscillator()"); |
+ shouldNotThrow("source.start()"); |
+ shouldNotThrow("source.stop()"); |
} |
runTest(); |