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

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

Issue 825603005: AudioBufferSourceNode.buffer can only be set once. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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
Index: LayoutTests/webaudio/dom-exceptions.html
diff --git a/LayoutTests/webaudio/dom-exceptions.html b/LayoutTests/webaudio/dom-exceptions.html
index 3f3f60f2d42e94507aca90eb1ea71750e64aafe2..14fe489ad115e580514c9b5a188a724699f36801 100644
--- a/LayoutTests/webaudio/dom-exceptions.html
+++ b/LayoutTests/webaudio/dom-exceptions.html
@@ -160,6 +160,7 @@ function runTest() {
buffer = context.createBuffer(1,1, context.sampleRate);
shouldNotThrow("source = context.createBufferSource()");
shouldNotThrow("source.buffer = buffer");
+ shouldThrow("source.buffer = buffer");
shouldThrow("source.start(-1)");
shouldThrow("source.start(Infinity)");
shouldThrow("source.start(-Infinity)");

Powered by Google App Engine
This is Rietveld 408576698