[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 10 18:10:50 PST 2021


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

--- Comment #13 from Ryosuke Niwa <rniwa at webkit.org> ---
Comment on attachment 422355
  --> https://bugs.webkit.org/attachment.cgi?id=422355
Patch for landing

View in context: https://bugs.webkit.org/attachment.cgi?id=422355&action=review

>> Source/WebCore/dom/ComposedTreeIterator.cpp:165
>> +            if (auto assignedNode = assignedNodes->at(0)) {
> 
> Is this correct behavior? Do we want the first non-null assigned node if the first node is null, for example?

Hm... that is a good point.

Antti, what do you think?

-- 
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/20210311/af3a5daf/attachment-0001.htm>


More information about the webkit-unassigned mailing list