Index: LayoutTests/fast/dom/css-mediarule-functions-expected.txt |
diff --git a/LayoutTests/fast/dom/css-mediarule-functions-expected.txt b/LayoutTests/fast/dom/css-mediarule-functions-expected.txt |
index 0eea3ed225b51a6c96dc6182a274081e3953d2fe..f36e4eebb5c5a19f224802f41b69ce35c48d9e6e 100644 |
--- a/LayoutTests/fast/dom/css-mediarule-functions-expected.txt |
+++ b/LayoutTests/fast/dom/css-mediarule-functions-expected.txt |
@@ -1,12 +1,12 @@ |
This tests the insertRule(rule, index) and deleteRule(index) methods of the CSSMediaRule interface. It has passed if all of the output below begins with the text "PASS". |
PASS: No exception raised! New rule inserted successfully. |
-PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'insertRule' on 'CSSMediaRule': the index 3 must be less than or equal to the length of the rule list. |
-PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'insertRule' on 'CSSMediaRule': the index 4294967295 must be less than or equal to the length of the rule list. |
-PASS: Exception raised successfully. Type: SyntaxError: Failed to execute 'insertRule' on 'CSSMediaRule': the rule 'badbeef }{' is invalid and cannot be parsed. |
-PASS: Exception raised successfully. Type: HierarchyRequestError: Failed to execute 'insertRule' on 'CSSMediaRule': '@import' rules cannot be inserted inside a group rule. |
-PASS: Exception raised successfully. Type: SyntaxError: Failed to execute 'insertRule' on 'CSSMediaRule': the rule '@charset "ISO-8859-1";' is invalid and cannot be parsed. |
-PASS: Exception raised successfully. Type: SyntaxError: Failed to execute 'insertRule' on 'CSSMediaRule': the rule '@media screen { p { color: red; } };' is invalid and cannot be parsed. |
+PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'insertRule' on 'CSSGroupingRule': the index 3 must be less than or equal to the length of the rule list. |
+PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'insertRule' on 'CSSGroupingRule': the index 4294967295 must be less than or equal to the length of the rule list. |
+PASS: Exception raised successfully. Type: SyntaxError: Failed to execute 'insertRule' on 'CSSGroupingRule': the rule 'badbeef }{' is invalid and cannot be parsed. |
+PASS: Exception raised successfully. Type: HierarchyRequestError: Failed to execute 'insertRule' on 'CSSGroupingRule': '@import' rules cannot be inserted inside a group rule. |
+PASS: Exception raised successfully. Type: SyntaxError: Failed to execute 'insertRule' on 'CSSGroupingRule': the rule '@charset "ISO-8859-1";' is invalid and cannot be parsed. |
+PASS: Exception raised successfully. Type: SyntaxError: Failed to execute 'insertRule' on 'CSSGroupingRule': the rule '@media screen { p { color: red; } };' is invalid and cannot be parsed. |
PASS: No exception raised! Rule at position 'length - 1' deleted successfully. |
-PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'deleteRule' on 'CSSMediaRule': the index 1 is greated than the length of the rule list. |
-PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'deleteRule' on 'CSSMediaRule': the index 4294967295 is greated than the length of the rule list. |
+PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'deleteRule' on 'CSSGroupingRule': the index 1 is greated than the length of the rule list. |
+PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'deleteRule' on 'CSSGroupingRule': the index 4294967295 is greated than the length of the rule list. |