[Webkit-unassigned] [Bug 222720] REGRESSION(r272900): Nullptr crash in ComposedTreeIterator::traverseNextInShadowTree() via ShadowRoot::hostChildElementDidChange
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 17 09:52:23 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=222720
--- Comment #33 from Antti Koivisto <koivisto at iki.fi> ---
> It turns out that parentElement() can be nullptr... It doesn't crash because
> it's not actually used expect for comparing its address in
> ElementAndTextDescendantIterator::ElementAndTextDescendantIterator(), so
> it's always comparing to nullptr in that case.
Elements without parent are not in the composed tree so should definitely not be traversed by ComposedTreeIterator.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210317/e1689707/attachment-0001.htm>
More information about the webkit-unassigned
mailing list