Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 58785de4b8ec3cd420748f0e907cb37f990c3963
      
https://github.com/WebKit/WebKit/commit/58785de4b8ec3cd420748f0e907cb37f990c3963
  Author: Wenson Hsieh <wenson_hs...@apple.com>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M Source/WebKit/Platform/cocoa/WebPrivacyHelpers.mm

  Log Message:
  -----------
  Fixes crashes due to missing WebPrivacy framework on Ventura/Monterey 
downlevels after 264942@main
https://bugs.webkit.org/show_bug.cgi?id=257699
rdar://110238364

Reviewed by Tim Horton.

Add missing WebPrivacy framework availability checks before attempting to 
access soft-linked string constants.

* Source/WebKit/Platform/cocoa/WebPrivacyHelpers.mm:
(-[WKWebPrivacyNotificationListener init]):
(-[WKWebPrivacyNotificationListener dealloc]):
(-[WKWebPrivacyNotificationListener didUpdate:]):
(WebKit::LinkDecorationFilteringController::observeUpdates):

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


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

Reply via email to