[Webkit-unassigned] [Bug 80628] Overrides of Node::removedFromDocument should not depend on Node::inDocument being true

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 8 13:53:52 PST 2012


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





--- Comment #4 from Adam Klein <adamk at chromium.org>  2012-03-08 13:53:51 PST ---
(In reply to comment #3)
> (In reply to comment #1)
> > Another complication I wanted to mention: during destruction, the flag also tends to be wrong. It would be nice to fix this as well, though for now, my assert just ignores the bad state if m_deletionHasBegun is true.
> 
> It'll be nice to explicitly define where inDocument flag might be wrong, and force clients not to call inDocument() in such cases (maybe some sort of assertion ?)

Alternatively, we could try to make ContainerNodeAlgorithms.h actually set the flag appropriately. so it's never wrong.

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