| OLD | NEW |
| (Empty) |
| 1 This test should trigger exceptions on HTMLTableElement, and verify that the mes
sages are reasonably helpful. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS t.caption = null threw exception NotFoundError: Failed to set the 'caption'
property on 'HTMLTableElement': The new child element is null.. | |
| 7 PASS t.caption = document.body threw exception TypeError: Failed to set the 'cap
tion' property on 'HTMLTableElement': The provided value is not of type 'HTMLTab
leCaptionElement'.. | |
| 8 PASS t.tHead = null threw exception NotFoundError: Failed to set the 'tHead' pro
perty on 'HTMLTableElement': The new child element is null.. | |
| 9 PASS t.tHead = document.body threw exception TypeError: Failed to set the 'tHead
' property on 'HTMLTableElement': The provided value is not of type 'HTMLTableSe
ctionElement'.. | |
| 10 PASS t.createTFoot() is t.tFoot | |
| 11 PASS t.tFoot is non-null. | |
| 12 PASS t.tFoot = null did not throw exception. | |
| 13 PASS t.tFoot is null | |
| 14 PASS t.tFoot = document.body threw exception TypeError: Failed to set the 'tFoot
' property on 'HTMLTableElement': The provided value is not of type 'HTMLTableSe
ctionElement'.. | |
| 15 PASS t.insertRow(-2) threw exception IndexSizeError: Failed to execute 'insertRo
w' on 'HTMLTableElement': The index provided (-2) is less than -1.. | |
| 16 PASS t.insertRow(1) threw exception IndexSizeError: Failed to execute 'insertRow
' on 'HTMLTableElement': The index provided (1) is greater than the number of ro
ws in the table (0).. | |
| 17 PASS t.deleteRow(-2) threw exception IndexSizeError: Failed to execute 'deleteRo
w' on 'HTMLTableElement': The index provided (-2) is less than -1.. | |
| 18 PASS t.deleteRow(2) threw exception IndexSizeError: Failed to execute 'deleteRow
' on 'HTMLTableElement': The index provided (2) is greater than the number of ro
ws in the table (1).. | |
| 19 PASS t.deleteRow() threw exception TypeError: Failed to execute 'deleteRow' on '
HTMLTableElement': 1 argument required, but only 0 present.. | |
| 20 PASS successfullyParsed is true | |
| 21 | |
| 22 TEST COMPLETE | |
| 23 | |
| OLD | NEW |