[Webkit-unassigned] [Bug 224587] Crash in ReplaceSelectionCommand::mergeEndIfNeeded()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 14 20:14:08 PDT 2021


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

Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #426069|review?                     |review+
              Flags|                            |

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

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

> Source/WebCore/editing/ReplaceSelectionCommand.cpp:984
> +    if (startOfInsertedContent.isNull() || endOfInsertedContent.isNull())

Can we add this assertion here?
ASSERT(startOfInsertedContent.isNull() == endOfInsertedContent.isNull());

-- 
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/20210415/6acd8114/attachment.htm>


More information about the webkit-unassigned mailing list