[webkit-changes] [WebKit/WebKit] 23d8c7: [iOS] Assertion failure in Position::trailingWhite...

Ryosuke Niwa noreply at github.com
Wed Mar 22 16:35:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 23d8c7872d0ff458defed60d2ce7dd3aff3897bb
      https://github.com/WebKit/WebKit/commit/23d8c7872d0ff458defed60d2ce7dd3aff3897bb
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-03-22 (Wed, 22 Mar 2023)

  Changed paths:
    M LayoutTests/platform/ios/TestExpectations
    M Source/WebCore/editing/DeleteSelectionCommand.cpp

  Log Message:
  -----------
  [iOS] Assertion failure in Position::trailingWhitespacePosition while running
imported/w3c/web-platform-tests/editing/other/edit-in-textcontrol-immediately-after-hidden.tentative.html
https://bugs.webkit.org/show_bug.cgi?id=252191

Reviewed by Wenson Hsieh.

Check the precondition of Position::trailingWhitespacePosition before calling it.

* LayoutTests/platform/ios/TestExpectations:
* Source/WebCore/editing/DeleteSelectionCommand.cpp:
(WebCore::DeleteSelectionCommand::initializePositionData):

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




More information about the webkit-changes mailing list