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

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

Issue 26913005: start/stop method for AudioBufferSourceNodes and OscillatorNodes can take no args. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 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();
« 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