[webkit-changes] [WebKit/WebKit] e3bec6: REGRESSION (262544 at main): [ iOS ] Assertion failur...

Ryosuke Niwa noreply at github.com
Fri Apr 21 11:18:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e3bec6d3fc6cca9d5b482b1fcdb61c28d11a19ed
      https://github.com/WebKit/WebKit/commit/e3bec6d3fc6cca9d5b482b1fcdb61c28d11a19ed
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-04-21 (Fri, 21 Apr 2023)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm

  Log Message:
  -----------
  REGRESSION (262544 at main): [ iOS ] Assertion failure in Position::Position via computeEditableRootHasContentAndPlainText
https://bugs.webkit.org/show_bug.cgi?id=255704

Reviewed by Wenson Hsieh.

Exit early when the root editable element is an "atomic" element for editing purposes
so that we don't hit an assertion failure in Position::Position.

* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::computeEditableRootHasContentAndPlainText):

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




More information about the webkit-changes mailing list