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

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

Issue 1074463003: Return after throwing an exception when ConvolerNode.buffer rate is wrong. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 7f1b983cae28a35e1e864b58b9d62dfe1cfbbe69..18691d25c0269c2cfd0d69cbb1fa6321812c9c1a 100644
--- a/LayoutTests/webaudio/dom-exceptions.html
+++ b/LayoutTests/webaudio/dom-exceptions.html
@@ -260,7 +260,9 @@ function runTest() {
shouldNotThrow("oc = new OfflineAudioContext(1, 44100, 44100)");
shouldNotThrow("conv = oc.createConvolver()");
shouldThrow("conv.buffer = oc.createBuffer(1, 100, 22050)");
-
+ // conv.buffer should be unchanged (null) because the above failed.
+ shouldBeNull("conv.buffer");
+
// PannerNode channel count and mode
panner = context.createPanner();
// Channel count can only be set to 1 or 2.
« 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