blob: f569bfe9192190eaf2ce555fac15b57184147e4f [file] [log] [blame]
This test checks some DOM Range exceptions.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS node.innerHTML is '<bar>AB<moo>C</moo>DE</bar>'
PASS r.surroundContents(document.createElement('a')) threw exception InvalidStateError: The object is in an invalid state..
PASS r.surroundContents(document.createElement('a')) threw exception HierarchyRequestError: The operation would yield an incorrect node tree..
PASS successfullyParsed is true
TEST COMPLETE