[webkit-changes] [WebKit/WebKit] ec3ecb: Do not perform sync IPC on notifyAccessibilityForS...

Yusuke Suzuki noreply at github.com
Wed Sep 27 12:46:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ec3ecbd54ef898ab69b4877849fde26efa04e6ff
      https://github.com/WebKit/WebKit/commit/ec3ecbd54ef898ab69b4877849fde26efa04e6ff
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M Source/WebCore/editing/mac/FrameSelectionMac.mm

  Log Message:
  -----------
  Do not perform sync IPC on notifyAccessibilityForSelectionChange when accessibilityEnabled is false
https://bugs.webkit.org/show_bug.cgi?id=262151
rdar://problem/116088957

Reviewed by Ryosuke Niwa.

When notifyAccessibilityForSelectionChange is called from FrameSelection::updateAndRevealSelection, we are not checking this condition.
So this is happening regardless. We should guard this condition inside the function as the same to what it is doing in iOS.

* Source/WebCore/editing/mac/FrameSelectionMac.mm:
(WebCore::FrameSelection::notifyAccessibilityForSelectionChange):

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




More information about the webkit-changes mailing list