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

Unified Diff: LayoutTests/webaudio/audiobuffersource-channels.html

Issue 26883005: Get rid of custom bindings for AudioBufferSourceNode.buffer setter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Improve exception message 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/audiobuffersource-channels-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webaudio/audiobuffersource-channels.html
diff --git a/LayoutTests/webaudio/audiobuffersource-channels.html b/LayoutTests/webaudio/audiobuffersource-channels.html
index f24ed60322c216b979ece24c0839d62b290bfee7..e3b10ab8bd1fd28c173ad7d92cb43cbb4296c3db 100644
--- a/LayoutTests/webaudio/audiobuffersource-channels.html
+++ b/LayoutTests/webaudio/audiobuffersource-channels.html
@@ -28,7 +28,8 @@ function runTest() {
source = context.createBufferSource();
// Make sure we can't set to something which isn't an AudioBuffer.
- shouldThrow("source.buffer = 57");
+ shouldThrow("source.buffer = 57", "'TypeError: Type error'");
+ shouldThrow("source.buffer = null", "'TypeError: buffer cannot be null'");
// Check that mono buffer can be set.
try {
« no previous file with comments | « no previous file | LayoutTests/webaudio/audiobuffersource-channels-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698