1 Test that appropriate exceptions are thrown when adding children to a ProcessingInstruction.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS pi.appendChild(null) threw exception TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'..
7 PASS pi.appendChild(div) threw exception HierarchyRequestError: Failed to execute 'appendChild' on 'Node': This node type does not support this method..
8 PASS pi.appendChild(textNode) threw exception HierarchyRequestError: Failed to execute 'appendChild' on 'Node': This node type does not support this method..
9 PASS successfullyParsed is true