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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/audiobuffer-copy-channel.html

Issue 1481793002: Drop [LegacyInterfaceTypeChecking] where trivial in Web Audio (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: self.hasOwnProperty(errorType) Created 5 years, 1 month 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 | third_party/WebKit/LayoutTests/webaudio/audiobuffer-copy-channel-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/audiobuffer-copy-channel-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698