blob: e1147b689de507a8dd0dad148a771eb5fc9738c4 [file] [log] [blame]
rniwa@webkit.org3cf8e8d2019-03-19 22:25:44 +00001This tests re-parenting a child of the document fragment during an insertion so as to create a circular node tree.
2WebKit should detect this case and throw HierarchyRequestError.
3
4On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5
6
7PASS container.replaceChild(fragment, refChild) threw exception HierarchyRequestError: The operation would yield an incorrect node tree..
8PASS container.parentNode is child
9PASS child.parentNode is null
10PASS successfullyParsed is true
11
12TEST COMPLETE
13