Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ec3ecbd54ef898ab69b4877849fde26efa04e6ff
      
https://github.com/WebKit/WebKit/commit/ec3ecbd54ef898ab69b4877849fde26efa04e6ff
  Author: Yusuke Suzuki <ysuz...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to