Index: LayoutTests/fast/css/cssom-missing-arguments.html |
diff --git a/LayoutTests/fast/css/cssom-missing-arguments.html b/LayoutTests/fast/css/cssom-missing-arguments.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0ed129e2697602d5159ba156d45138d6d34dcbee |
--- /dev/null |
+++ b/LayoutTests/fast/css/cssom-missing-arguments.html |
@@ -0,0 +1,18 @@ |
+<!doctype html> |
+<html> |
+<head> |
+<script src="../../resources/js-test.js"></script> |
+</head> |
+<body> |
+<script> |
+var style = document.body.style; |
+shouldBeType("style", "CSSStyleDeclaration"); |
+shouldThrow("style.item()"); |
+shouldThrow("style.getPropertyValue()"); |
+shouldThrow("style.getPropertyPriority()"); |
+shouldThrow("style.setProperty()"); |
+shouldThrow("style.setProperty('color')"); |
+shouldThrow("style.removeProperty()"); |
+</script> |
+</body> |
+</html> |