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

Unified Diff: LayoutTests/css3/supports-cssom-expected.txt

Issue 797013002: Make CSSSupportsRule function arguments non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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
« no previous file with comments | « LayoutTests/css3/supports-cssom.html ('k') | Source/core/css/CSSSupportsRule.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « LayoutTests/css3/supports-cssom.html ('k') | Source/core/css/CSSSupportsRule.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698