1 This test should trigger exceptions on HTMLTableRowElement, and verify that the messages are reasonably helpful.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS tr.insertCell(-2) threw exception IndexSizeError: Failed to execute 'insertCell' on 'HTMLTableRowElement': The value provided (-2) is outside the range [-1, 0]..
7 PASS tr.insertCell(1) threw exception IndexSizeError: Failed to execute 'insertCell' on 'HTMLTableRowElement': The value provided (1) is outside the range [-1, 0]..
8 PASS tr.deleteCell(-2) threw exception IndexSizeError: Failed to execute 'deleteCell' on 'HTMLTableRowElement': The value provided (-2) is outside the range [0, 1)..
9 PASS tr.deleteCell(2) threw exception IndexSizeError: Failed to execute 'deleteCell' on 'HTMLTableRowElement': The value provided (2) is outside the range [0, 1)..
10 PASS tr.deleteCell() threw exception TypeError: Failed to execute 'deleteCell' on 'HTMLTableRowElement': 1 argument required, but only 0 present..
11 PASS successfullyParsed is true