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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 17 12:21:53 PST 2014


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





--- Comment #10 from Darin Adler <darin at apple.com>  2014-01-17 12:19:28 PST ---
(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?

-- 
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