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 8f3fb6dba26f5fa9b5523ff197c8693b0773f661..dc9dfd89efb83fdb05ab259cd13658c3fad5ad0c 100644 |
--- a/third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html |
+++ b/third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html |
@@ -37,6 +37,10 @@ test(function() { |
}, 'Unsupported and unserializable property returns null.'); |
test(function() { |
+ assert_throws(null, function() { computedStyleMap.get('bananas'); }); |
+}, 'get() throws for an invalid property.'); |
+ |
+test(function() { |
assert_false(computedStyleMap.has('max-zoom')); |
}, 'has() return false for an unsupported property.'); |
alancutter (OOO until 2018)
2017/04/05 05:00:16
max-zoom is technically a descriptor, not a proper
|