[webkit-changes] [WebKit/WebKit] 658141: Some AX context menu invocations insert unprintabl...

Tim Horton noreply at github.com
Sat Jul 13 13:58:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 658141c4771d5defbea7c08f5dc14f54ccc65065
      https://github.com/WebKit/WebKit/commit/658141c4771d5defbea7c08f5dc14f54ccc65065
  Author: Tim Horton <thorton at apple.com>
  Date:   2024-07-13 (Sat, 13 Jul 2024)

  Changed paths:
    M Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm

  Log Message:
  -----------
  Some AX context menu invocations insert unprintable characters instead of showing a context menu
https://bugs.webkit.org/show_bug.cgi?id=276577
rdar://130975787

Reviewed by Richard Robinson.

* Source/WebKit/UIProcess/API/mac/WKWebViewMac.mm:
(-[WKWebView showContextMenuForSelection:]):
Provide an empty implementation of this method, which causes AppKit to call this
method instead of insertText when certain accessibility context menu paths are invoked.

A future patch will provide a proper implementation; this just stops us from
inserting a random control character.

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



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