[Webkit-unassigned] [Bug 232053] Negative length returned by TextUtil::midWordBreak with surrogate pair

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 27 11:09:55 PDT 2021


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

--- Comment #7 from Gabriel Nava Marino <gnavamarino at apple.com> ---
(In reply to Myles C. Maxfield from comment #5)
> In fact, this bug seems fixed now on ToT. I ran the 3 tests in this patch
> and logged the values of right and startPosition, and right is always >=
> startPosition.

Looks like this test is still crashing:
fast/text/word-break-letter-spacing-utf16-surrogates.html
It is hitting the new RELEASE_ASSERT in TextUtil::breakWord added in the above patch.
    RELEASE_ASSERT(right >= startPosition);

I will investigate.

-- 
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/20211027/7962d7fc/attachment.htm>


More information about the webkit-unassigned mailing list