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() { |