1 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".
3 PASS: No exception raised! New rule inserted successfully.
4 PASS: Exception raised successfully. Type: Error: INDEX_SIZE_ERR: DOM Exception 1
5 PASS: Exception raised successfully. Type: Error: INDEX_SIZE_ERR: DOM Exception 1
6 PASS: Exception raised successfully. Type: Error: SYNTAX_ERR: DOM Exception 12
7 PASS: Exception raised successfully. Type: Error: HIERARCHY_REQUEST_ERR: DOM Exception 3
8 PASS: Exception raised successfully. Type: Error: SYNTAX_ERR: DOM Exception 12
9 PASS: Exception raised successfully. Type: Error: SYNTAX_ERR: DOM Exception 12
10 PASS: No exception raised! Rule at position 'length - 1' deleted successfully.
11 PASS: Exception raised successfully. Type: Error: INDEX_SIZE_ERR: DOM Exception 1
12 PASS: Exception raised successfully. Type: Error: INDEX_SIZE_ERR: DOM Exception 1