| OLD | NEW |
| 1 Test that appropriate exceptions are thrown when adding children to a Processing
Instruction. | 1 Test that appropriate exceptions are thrown when adding children to a Processing
Instruction. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS pi.appendChild(null) threw exception HierarchyRequestError: Failed to execu
te 'appendChild' on 'Node': This node type does not support this method.. | 6 PASS pi.appendChild(null) threw exception TypeError: Failed to execute 'appendCh
ild' on 'Node': parameter 1 is not of type 'Node'.. |
| 7 PASS pi.appendChild(div) threw exception HierarchyRequestError: Failed to execut
e 'appendChild' on 'Node': This node type does not support this method.. | 7 PASS pi.appendChild(div) threw exception HierarchyRequestError: Failed to execut
e 'appendChild' on 'Node': This node type does not support this method.. |
| 8 PASS pi.appendChild(textNode) threw exception HierarchyRequestError: Failed to e
xecute 'appendChild' on 'Node': This node type does not support this method.. | 8 PASS pi.appendChild(textNode) threw exception HierarchyRequestError: Failed to e
xecute 'appendChild' on 'Node': This node type does not support this method.. |
| 9 PASS successfullyParsed is true | 9 PASS successfullyParsed is true |
| 10 | 10 |
| 11 TEST COMPLETE | 11 TEST COMPLETE |
| 12 | 12 |
| OLD | NEW |