Check if node is connected after calling mergeWithNeighboringLists since DOM mutations can change the DOM tree.
Created attachment 459046 [details] Patch
Committed r294003 (250439@main): <https://commits.webkit.org/250439@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 459046 [details].
<rdar://problem/93010545>