[webkit-changes] [WebKit/WebKit] 557f88: Images on webpage appear black

Per Arne Vollan noreply at github.com
Thu Mar 30 16:25:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 557f88c94cafbd420b4aa06eeb779dd94dbc3f8e
      https://github.com/WebKit/WebKit/commit/557f88c94cafbd420b4aa06eeb779dd94dbc3f8e
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2023-03-30 (Thu, 30 Mar 2023)

  Changed paths:
    M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm

  Log Message:
  -----------
  Images on webpage appear black
https://bugs.webkit.org/show_bug.cgi?id=254461
rdar://107049001

Reviewed by Said Abou-Hallawa.

Images on webpage appear black with the experimental sandbox feature enabled on macOS.
This is caused by launchd being blocked in the sandbox, which prevents connections to
trustd in order to verify the code signature of image decoder plugins. This is fixed
by opening up a Mach connections to trustd before we block launchd after the WebContent
has finished launching.

* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::platformInitializeWebProcess):

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




More information about the webkit-changes mailing list