[webkit-changes] [WebKit/WebKit] aa4f47: Cherry-pick 283540 at main (818118e729fb). https://bu...

Vitaly Dyachkov noreply at github.com
Wed Sep 25 01:27:23 PDT 2024


  Branch: refs/heads/webkitglib/2.44
  Home:   https://github.com/WebKit/WebKit
  Commit: aa4f47670da09ab681f42121c3e98e61fcc81360
      https://github.com/WebKit/WebKit/commit/aa4f47670da09ab681f42121c3e98e61fcc81360
  Author: Vitaly Dyachkov <vitaly at igalia.com>
  Date:   2024-09-25 (Wed, 25 Sep 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/platform/text/SegmentedString.cpp

  Log Message:
  -----------
  Cherry-pick 283540 at main (818118e729fb). https://bugs.webkit.org/show_bug.cgi?id=268217

    HTML entity parsing hits SegmentedString::pushBack() assert through document.write()
    https://bugs.webkit.org/show_bug.cgi?id=268217

    Reviewed by Chris Dumez and Darin Adler.

    When advancing past a single-character substring, we should always mark
    such a substring as fully consumed (i.e., set its `length` to `0`),
    and add its consumed character number to `m_numberOfCharactersConsumedPriorToCurrentSubstring`.

    * LayoutTests/TestExpectations:
    * Source/WebCore/platform/text/SegmentedString.cpp:
    (WebCore::SegmentedString::advancePastSingleCharacterSubstringWithoutUpdatingLineNumber):

    Canonical link: https://commits.webkit.org/283540@main

Canonical link: https://commits.webkit.org/274313.440@webkitglib/2.44



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list