Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a5286f75826f7bee315d1c89aee8cf20669d582d
      
https://github.com/WebKit/WebKit/commit/a5286f75826f7bee315d1c89aee8cf20669d582d
  Author: Per Arne Vollan <pvol...@apple.com>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h
    M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h
    M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.messages.in
    M Source/WebKit/NetworkProcess/mac/NetworkConnectionToWebProcessMac.mm
    M Source/WebKit/Scripts/process-entitlements.sh
    M Source/WebKit/UIProcess/WebProcessPool.cpp
    M Source/WebKit/WebProcess/WebProcess.cpp
    M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm
    M Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

  Log Message:
  -----------
  [macOS] Check in WebContent process with Launch Services from the Networking 
process
rdar://145370973
https://bugs.webkit.org/show_bug.cgi?id=288290

Reviewed by Brady Eidson and Chris Dumez.

We currently allow a sandbox extension to Launch Services in the WebContent 
procces during launch. This extension is
revoked when the WebContent process has finished launching. To also remove this 
sandbox extension, we can check in
the WebContent process with Launch Services from the Networking process, 
instead of doing an in-process checkin.
This is currently guarded by a flag, which is not enabled, so there should be 
no behavior change from this patch.

* Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h:
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h:
* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.messages.in:
* Source/WebKit/NetworkProcess/mac/NetworkConnectionToWebProcessMac.mm:
(WebKit::NetworkConnectionToWebProcess::checkInWebProcess):
* Source/WebKit/Scripts/process-entitlements.sh:
* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::ensureNetworkProcessConnection):
* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::platformInitializeWebProcess):
(WebKit::WebProcess::updateProcessName):
(WebKit::WebProcess::platformInitializeProcess):
* Source/WebKit/WebProcess/com.apple.WebProcess.sb.in:

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



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

Reply via email to