OLD | NEW |
1 This tests the insertRule(rule, index) and deleteRule(index) methods of the CSSM
ediaRule interface. It has passed if all of the output below begins with the tex
t "PASS". | 1 This tests the insertRule(rule, index) and deleteRule(index) methods of the CSSM
ediaRule interface. It has passed if all of the output below begins with the tex
t "PASS". |
2 | 2 |
3 PASS: No exception raised! New rule inserted successfully. | 3 PASS: No exception raised! New rule inserted successfully. |
4 PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'in
sertRule' on 'CSSMediaRule': the index 3 must be less than or equal to the lengt
h of the rule list. | 4 PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'in
sertRule' on 'CSSGroupingRule': the index 3 must be less than or equal to the le
ngth of the rule list. |
5 PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'in
sertRule' on 'CSSMediaRule': the index 4294967295 must be less than or equal to
the length of the rule list. | 5 PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'in
sertRule' on 'CSSGroupingRule': the index 4294967295 must be less than or equal
to the length of the rule list. |
6 PASS: Exception raised successfully. Type: SyntaxError: Failed to execute 'inser
tRule' on 'CSSMediaRule': the rule 'badbeef }{' is invalid and cannot be parsed. | 6 PASS: Exception raised successfully. Type: SyntaxError: Failed to execute 'inser
tRule' on 'CSSGroupingRule': the rule 'badbeef }{' is invalid and cannot be pars
ed. |
7 PASS: Exception raised successfully. Type: HierarchyRequestError: Failed to exec
ute 'insertRule' on 'CSSMediaRule': '@import' rules cannot be inserted inside a
group rule. | 7 PASS: Exception raised successfully. Type: HierarchyRequestError: Failed to exec
ute 'insertRule' on 'CSSGroupingRule': '@import' rules cannot be inserted inside
a group rule. |
8 PASS: Exception raised successfully. Type: SyntaxError: Failed to execute 'inser
tRule' on 'CSSMediaRule': the rule '@charset "ISO-8859-1";' is invalid and canno
t be parsed. | 8 PASS: Exception raised successfully. Type: SyntaxError: Failed to execute 'inser
tRule' on 'CSSGroupingRule': the rule '@charset "ISO-8859-1";' is invalid and ca
nnot be parsed. |
9 PASS: Exception raised successfully. Type: SyntaxError: Failed to execute 'inser
tRule' on 'CSSMediaRule': the rule '@media screen { p { color: red; } };' is inv
alid and cannot be parsed. | 9 PASS: Exception raised successfully. Type: SyntaxError: Failed to execute 'inser
tRule' on 'CSSGroupingRule': the rule '@media screen { p { color: red; } };' is
invalid and cannot be parsed. |
10 PASS: No exception raised! Rule at position 'length - 1' deleted successfully. | 10 PASS: No exception raised! Rule at position 'length - 1' deleted successfully. |
11 PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'de
leteRule' on 'CSSMediaRule': the index 1 is greated than the length of the rule
list. | 11 PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'de
leteRule' on 'CSSGroupingRule': the index 1 is greated than the length of the ru
le list. |
12 PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'de
leteRule' on 'CSSMediaRule': the index 4294967295 is greated than the length of
the rule list. | 12 PASS: Exception raised successfully. Type: IndexSizeError: Failed to execute 'de
leteRule' on 'CSSGroupingRule': the index 4294967295 is greated than the length
of the rule list. |
OLD | NEW |