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

Unified Diff: LayoutTests/css3/supports-cssom.html

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 | « no previous file | LayoutTests/css3/supports-cssom-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/css3/supports-cssom.html
diff --git a/LayoutTests/css3/supports-cssom.html b/LayoutTests/css3/supports-cssom.html
index d08638d3461430e3e3b405c32e3de68aae533a9f..f396a580af03b7b20a5bccbcc07d245c89d24435 100644
--- a/LayoutTests/css3/supports-cssom.html
+++ b/LayoutTests/css3/supports-cssom.html
@@ -73,6 +73,11 @@
"}\n" +
"}");
+ debug("\nMissing argument exceptions.");
+ shouldThrow("rules[0].insertRule()");
+ shouldThrow("rules[0].insertRule('@media all {}')");
+ shouldThrow("rules[0].deleteRule()");
+
debug("\nInserting and deleting rules.");
evalAndLog("rules[0].insertRule('@media all { #s { width: 0px; } }', 2)");
shouldEvaluateTo("rules[0].cssRules.length", 3);
« no previous file with comments | « no previous file | LayoutTests/css3/supports-cssom-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698