[webkit-changes] [WebKit/WebKit] 735eaa: Register application in the WebProcess on Catalyst

Per Arne Vollan noreply at github.com
Thu Dec 14 01:28:40 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 735eaa9151f8e86163800991b2e65f5ed5c8acfd
      https://github.com/WebKit/WebKit/commit/735eaa9151f8e86163800991b2e65f5ed5c8acfd
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2023-12-14 (Thu, 14 Dec 2023)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h
    M Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
    M Source/WebKit/WebProcess/WebProcess.h
    M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm

  Log Message:
  -----------
  Register application in the WebProcess on Catalyst
https://bugs.webkit.org/show_bug.cgi?id=266350
rdar://119217913

Reviewed by Brent Fulgham.

Call _RegisterApplication on Catalyst while holding a XPC sandbox extension. Calling this function
without the sandbox extension will crash.

* Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h
* Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
* Source/WebKit/WebProcess/WebProcess.h
* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm
* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::platformInitializeWebProcess):

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




More information about the webkit-changes mailing list