haikuwebkit/LayoutTests/fast/dom/css-mediarule-functions-exp...

13 lines
1.1 KiB
Plaintext

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: The index is not in the allowed range.
PASS: Exception raised successfully. Type: IndexSizeError: The index is not in the allowed range.
PASS: Exception raised successfully. Type: SyntaxError: The string did not match the expected pattern.
PASS: Exception raised successfully. Type: HierarchyRequestError: The operation would yield an incorrect node tree.
PASS: Exception raised successfully. Type: SyntaxError: The string did not match the expected pattern.
PASS: Exception raised successfully. Type: SyntaxError: The string did not match the expected pattern.
PASS: No exception raised! Rule at position 'length - 1' deleted successfully.
PASS: Exception raised successfully. Type: IndexSizeError: The index is not in the allowed range.
PASS: Exception raised successfully. Type: IndexSizeError: The index is not in the allowed range.