Ensures that appendChild() throws an exception if mutation even handler does something wrong On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS newparent.appendChild(child); threw exception HierarchyRequestError: The operation would yield an incorrect node tree.. PASS successfullyParsed is true TEST COMPLETE