Index: LayoutTests/css3/supports-cssom-expected.txt |
diff --git a/LayoutTests/css3/supports-cssom-expected.txt b/LayoutTests/css3/supports-cssom-expected.txt |
index 3e20cae211cf21affabaaadcf3e1f117e716e139..55f1264d145382e443697e1a15a5e4af7ada7471 100644 |
--- a/LayoutTests/css3/supports-cssom-expected.txt |
+++ b/LayoutTests/css3/supports-cssom-expected.txt |
@@ -15,6 +15,11 @@ PASS rules[0].cssRules[1].cssRules[0].type is CSSRule.STYLE_RULE |
PASS rules[0].conditionText is "(width: 0)" |
PASS rules[0].cssText is "@supports (width: 0) {\n s { width: 0px; }\n @supports (width: 1) {\n s { color: rgb(0, 0, 0); }\n}\n}" |
+Missing argument exceptions. |
+PASS rules[0].insertRule() threw exception TypeError: Failed to execute 'insertRule' on 'CSSSupportsRule': 2 arguments required, but only 0 present.. |
+PASS rules[0].insertRule('@media all {}') threw exception TypeError: Failed to execute 'insertRule' on 'CSSSupportsRule': 2 arguments required, but only 1 present.. |
+PASS rules[0].deleteRule() threw exception TypeError: Failed to execute 'deleteRule' on 'CSSSupportsRule': 1 argument required, but only 0 present.. |
+ |
Inserting and deleting rules. |
rules[0].insertRule('@media all { #s { width: 0px; } }', 2) |
PASS rules[0].cssRules.length is 3 |