Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2bb75ce8fab58c07779265cf2030e16004a40c03
      
https://github.com/WebKit/WebKit/commit/2bb75ce8fab58c07779265cf2030e16004a40c03
  Author: Ben Nham <[email protected]>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M Source/WebKit/Scripts/process-entitlements.sh

  Log Message:
  -----------
  Ignore notify_register fault from LaunchServices
https://bugs.webkit.org/show_bug.cgi?id=275815
rdar://129022920

Reviewed by Per Arne Vollan.

On Mac, we are getting spurious os_log_faults because LaunchServices is 
registering for a notifyd
notification with the prefix `com.apple.coreservices.launchservices.session` 
and this isn't on the
list of allowlisted notification prefixes for that process.

WebContent actually blocks connections to LaunchServices at runtime (via a call 
to
`_LSSetApplicationLaunchServicesServerConnectionStatus`), so we actually don't 
care or need LS to
get those notifications. The issue is that call has to happen late in 
WebContent initialization and
by that time LS has already registered for that notification.

To fix this, notifyd now allows us to specify prefixes in the notification 
allowlist. Since we don't
care about this notification being forwarded to the WebContent process, add it 
to the list of
non-forwarded entitled notifications.

* Source/WebKit/Scripts/process-entitlements.sh:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to