blob: c616291177268e5040a60dc1d41509f857d5b568 [file] [log] [blame]
weinigcbac1fe2006-12-24 00:48:03 +00001This 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".
2
3PASS: No exception raised! New rule inserted successfully.
4PASS: Exception raised successfully. Type: Error: INDEX_SIZE_ERR: DOM Exception 1
5PASS: Exception raised successfully. Type: Error: INDEX_SIZE_ERR: DOM Exception 1
6PASS: Exception raised successfully. Type: Error: SYNTAX_ERR: DOM Exception 12
7PASS: Exception raised successfully. Type: Error: HIERARCHY_REQUEST_ERR: DOM Exception 3
8PASS: Exception raised successfully. Type: Error: SYNTAX_ERR: DOM Exception 12
9PASS: Exception raised successfully. Type: Error: SYNTAX_ERR: DOM Exception 12
10PASS: No exception raised! Rule at position 'length - 1' deleted successfully.
11PASS: Exception raised successfully. Type: Error: INDEX_SIZE_ERR: DOM Exception 1
12PASS: Exception raised successfully. Type: Error: INDEX_SIZE_ERR: DOM Exception 1