Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b85d783df356a1bf6e88e5484e666c133efb23bd
      
https://github.com/WebKit/WebKit/commit/b85d783df356a1bf6e88e5484e666c133efb23bd
  Author: Ryan Reno <rr...@apple.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

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

  Log Message:
  -----------
  Add a null check for the current process' name when launching a new process 
on macOS
https://bugs.webkit.org/show_bug.cgi?id=256853
rdar://109210266

Reviewed by Chris Dumez.

-[NSRunningApplication localizedName] is nullable. This adds a null
check and falls back to the -[NSProcessInfo processName] if it is null
on macOS.

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

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to