[Webkit-unassigned] [Bug 222720] REGRESSION(r272900): Nullptr crash in ComposedTreeIterator::traverseNextInShadowTree() via ShadowRoot::hostChildElementDidChange

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 18 02:02:21 PDT 2021


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

--- Comment #35 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to Ryosuke Niwa from comment #34)
> Comment on attachment 423480 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=423480&action=review
> 
> > Source/WebCore/dom/ComposedTreeIterator.cpp:167
> > +            // FIXME: assignedNode->parentElement() can be nullptr.
> 
> r- because this is clearly wrong as Antti says.

But that's a pre-existing bug, just revealed by this one because Darin asked me to add the assert on the parent element. I opened bug #223378 to fix that case.

-- 
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/20210318/10d197ea/attachment-0001.htm>


More information about the webkit-unassigned mailing list