[Webkit-unassigned] [Bug 121694] Assertion failure in Range::nodeWillBeRemoved

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 17 12:23:28 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=121694





--- Comment #11 from Ryosuke Niwa <rniwa at webkit.org>  2014-01-17 12:21:03 PST ---
(In reply to comment #10)
> (In reply to comment #9)
> > If child had already been removed or inserted elsewhere, we should not be calling disconnectSubframesIfNeeded either.
> 
> Agreed.
> 
> > Which means that we should have
> > if (child.parentNode() == this)
> >     return;
> > right before we call nodeWillBeRemoved instead.
> 
> Even that doesn’t seem quite right to me for the case where the node was removed and reinserted into the same parent. Although perhaps in that case nodeWillBeRemoved will be harmless?

I think we proceed to remove the child anyway in that case.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list