Index: third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html |
diff --git a/third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html b/third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html |
index 7755f5bfb019ef451c6d5ab010e1ee47c6a9f72f..6e3fbab950f26d7a6d81b0f64483568448117b31 100644 |
--- a/third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html |
+++ b/third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html |
@@ -37,7 +37,7 @@ test(function() { |
}, 'Unsupported and unserializable property returns null.'); |
test(function() { |
- assert_throws(null, function() { computedStyleMap.get('bananas'); }); |
+ assert_throws(new TypeError(), function() { computedStyleMap.get('bananas'); }); |
}, 'get() throws for an invalid property.'); |
test(function() { |
@@ -45,7 +45,7 @@ test(function() { |
}, 'has() return false for an unsupported property.'); |
test(function() { |
- assert_throws(null, function() { computedStyleMap.has('bananas'); }); |
+ assert_throws(new TypeError(), function() { computedStyleMap.has('bananas'); }); |
}, 'has() throws for an invalid property.'); |
test(function() { |