Index: third_party/WebKit/LayoutTests/webaudio/audiobuffer-copy-channel.html |
diff --git a/third_party/WebKit/LayoutTests/webaudio/audiobuffer-copy-channel.html b/third_party/WebKit/LayoutTests/webaudio/audiobuffer-copy-channel.html |
index 5cda524ff00ffd5e07216de28f5c6b071766769c..235b7f076b9cbdb7994582c53b8c618c09b1c3ce 100644 |
--- a/third_party/WebKit/LayoutTests/webaudio/audiobuffer-copy-channel.html |
+++ b/third_party/WebKit/LayoutTests/webaudio/audiobuffer-copy-channel.html |
@@ -112,10 +112,10 @@ |
}).notThrow(); |
Should("buffer.copyFromChannel(null, 0)", function () { |
buffer.copyFromChannel(null, 0); |
- }).throw("TypeMismatchError"); |
+ }).throw("TypeError"); |
Should("buffer.copyFromChannel(context, 0)", function () { |
buffer.copyFromChannel(context, 0); |
- }).throw("TypeMismatchError"); |
+ }).throw("TypeError"); |
Should("buffer.copyFromChannel(x, -1)", function () { |
buffer.copyFromChannel(x, -1); |
}).throw("IndexSizeError"); |
@@ -139,10 +139,10 @@ |
shouldBeDefined("AudioBuffer.prototype.copyToChannel"); |
Should("buffer.copyToChannel(null, 0)", function () { |
buffer.copyToChannel(null, 0); |
- }).throw("TypeMismatchError"); |
+ }).throw("TypeError"); |
Should("buffer.copyToChannel(context, 0)", function () { |
buffer.copyToChannel(context, 0); |
- }).throw("TypeMismatchError"); |
+ }).throw("TypeError"); |
Should("buffer.copyToChannel(x, -1)", function () { |
buffer.copyToChannel(x, -1); |
}).throw("IndexSizeError"); |
@@ -258,7 +258,7 @@ |
); |
successfullyParsed = true; |
- |
+ |
</script> |
</body> |