| 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 Error: HierarchyRequestError: DOM Exce
ption 3. | 6 PASS pi.appendChild(null) threw exception HierarchyRequestError: A Node was inse
rted somewhere it doesn't belong.. |
| 7 PASS pi.appendChild(div) threw exception Error: HierarchyRequestError: DOM Excep
tion 3. | 7 PASS pi.appendChild(div) threw exception HierarchyRequestError: A Node was inser
ted somewhere it doesn't belong.. |
| 8 PASS pi.appendChild(textNode) threw exception Error: HierarchyRequestError: DOM
Exception 3. | 8 PASS pi.appendChild(textNode) threw exception HierarchyRequestError: A Node was
inserted somewhere it doesn't belong.. |
| 9 PASS successfullyParsed is true | 9 PASS successfullyParsed is true |
| 10 | 10 |
| 11 TEST COMPLETE | 11 TEST COMPLETE |
| 12 | 12 |
| OLD | NEW |