Index: LayoutTests/css3/supports-cssom.html |
diff --git a/LayoutTests/css3/supports-cssom.html b/LayoutTests/css3/supports-cssom.html |
index 9dc51d0783525652a978badf46624a22a2ad0b56..d08638d3461430e3e3b405c32e3de68aae533a9f 100644 |
--- a/LayoutTests/css3/supports-cssom.html |
+++ b/LayoutTests/css3/supports-cssom.html |
@@ -87,9 +87,9 @@ |
shouldEvaluateTo("rules[0].cssRules.length", 2); |
debug("\n@charset, @namespace, @import rules are not allowed inside @supports.") |
- shouldThrow("rules[0].insertRule('@charset \"UTF-8\"', 2)", '"SyntaxError: Failed to execute \'insertRule\' on \'CSSGroupingRule\': the rule \'@charset \\"UTF-8\\"\' is invalid and cannot be parsed."'); |
- shouldThrow("rules[0].insertRule('@namespace \"\"', 2)", '"SyntaxError: Failed to execute \'insertRule\' on \'CSSGroupingRule\': the rule \'@namespace \\"\\"\' is invalid and cannot be parsed."'); |
- shouldThrow("rules[0].insertRule('@import url(\"../fast/cssom/resources/import.css\")', 2)", '"HierarchyRequestError: Failed to execute \'insertRule\' on \'CSSGroupingRule\': \'@import\' rules cannot be inserted inside a group rule."'); |
+ shouldThrow("rules[0].insertRule('@charset \"UTF-8\"', 2)", '"SyntaxError: Failed to execute \'insertRule\' on \'CSSSupportsRule\': the rule \'@charset \\"UTF-8\\"\' is invalid and cannot be parsed."'); |
+ shouldThrow("rules[0].insertRule('@namespace \"\"', 2)", '"SyntaxError: Failed to execute \'insertRule\' on \'CSSSupportsRule\': the rule \'@namespace \\"\\"\' is invalid and cannot be parsed."'); |
+ shouldThrow("rules[0].insertRule('@import url(\"../fast/cssom/resources/import.css\")', 2)", '"HierarchyRequestError: Failed to execute \'insertRule\' on \'CSSSupportsRule\': \'@import\' rules cannot be inserted inside a group rule."'); |
debug("\nWhitespace and formatting should be preserved within the condition, whitespace outside the condition should be trimmed."); |