[webkit-changes] [WebKit/WebKit] de6b46: [iOS] Gracefully handle errors from -[_SEExtension...

aestes noreply at github.com
Fri Jan 12 15:46:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: de6b4630daa1dc395c5f8938af6dd0b4b6b76bad
      https://github.com/WebKit/WebKit/commit/de6b4630daa1dc395c5f8938af6dd0b4b6b76bad
  Author: Andy Estes <aestes at apple.com>
  Date:   2024-01-12 (Fri, 12 Jan 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm

  Log Message:
  -----------
  [iOS] Gracefully handle errors from -[_SEExtensionProcess makeLibXPCConnectionError:]
https://bugs.webkit.org/show_bug.cgi?id=267463
rdar://120915929

Reviewed by Per Arne Vollan.

When -makeLibXPCConnectionError: returns nil, log an error and invalidate the extension process
rather than crashing some time later due to a nil m_xpcConnection.

* Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm:
(WebKit::ProcessLauncher::launchProcess):

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




More information about the webkit-changes mailing list