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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.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/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() {

Powered by Google App Engine
This is Rietveld 408576698