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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/cssMatrixComponent.html

Issue 2906023002: [CSS Typed OM] Fix test bug errors, remove forgotten expectation files (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/LayoutTests/typedcssom/cssMatrixComponent.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssMatrixComponent.html b/third_party/WebKit/LayoutTests/typedcssom/cssMatrixComponent.html
index 0c7a5183374e2c6e6993b43935bcab5fa44f39dd..06692969c1c773cb5b684d7788f3c9cb9d0649c7 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/cssMatrixComponent.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssMatrixComponent.html
@@ -57,11 +57,11 @@ test(function() {
}, "Test that the toString for CSSMatrixComponent is correct.");
test(function() {
- assert_throws(null, function() { new CSSMatrixComponent() });
- assert_throws(null, function() { new CSSMatrixComponent(0) });
- assert_throws(null, function() { new CSSMatrixComponent("string") });
- assert_throws(null, function() { new CSSMatrixComponent(None) });
- assert_throws(null, function() { new CSSMatrixComponent(undefined) });
+ assert_throws(new TypeError(), function() { new CSSMatrixComponent() });
+ assert_throws(new TypeError(), function() { new CSSMatrixComponent(0) });
+ assert_throws(new TypeError(), function() { new CSSMatrixComponent("string") });
+ assert_throws(new TypeError(), function() { new CSSMatrixComponent(null) });
+ assert_throws(new TypeError(), function() { new CSSMatrixComponent(undefined) });
}, "Test that invalid number of arguments for CSSMatrixComponent throws an exception.");
test(function() {

Powered by Google App Engine
This is Rietveld 408576698