[webkit-changes] [WebKit/WebKit] 7db75d: associatedPluginParent is accessing the main threa...

Commit Queue noreply at github.com
Tue Nov 28 19:28:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7db75daadf991ce4987234be9d44a155818bcfea
      https://github.com/WebKit/WebKit/commit/7db75daadf991ce4987234be9d44a155818bcfea
  Author: Dominic Mazzoni <dmazzoni at google.com>
  Date:   2023-11-28 (Tue, 28 Nov 2023)

  Changed paths:
    M Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm

  Log Message:
  -----------
  associatedPluginParent is accessing the main thread every time a notification is fired

https://bugs.webkit.org/show_bug.cgi?id=265472
rdar://118898644

Reviewed by Chris Fleizach.

Check hasApplePDFAnnotationAttribute on the backing object before going to the main thread, since it's usually false.

* Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(-[WebAccessibilityObjectWrapper associatedPluginParent]):

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




More information about the webkit-changes mailing list