[webkit-changes] [WebKit/WebKit] a01e3a: [iOS] Stop calling directly into UIKeyboardImpl to...

Wenson Hsieh noreply at github.com
Thu Nov 16 13:10:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a01e3adf9d44251d4900a0694208e0a66303f6e4
      https://github.com/WebKit/WebKit/commit/a01e3adf9d44251d4900a0694208e0a66303f6e4
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

  Changed paths:
    M Source/WebKit/Platform/spi/ios/UIKitSPI.h
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

  Log Message:
  -----------
  [iOS] Stop calling directly into UIKeyboardImpl to handle replacement via the edit menu
https://bugs.webkit.org/show_bug.cgi?id=264952
rdar://118510285

Reviewed by Tim Horton.

Call into the default `-replace:` implementation on `UIResponder` if available, rather than calling
directly into keyboard code in UIKit.

* Source/WebKit/Platform/spi/ios/UIKitSPI.h:
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView replaceForWebView:]):

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




More information about the webkit-changes mailing list