Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 33a1bca206e4f13118d2d3587297f47132fe48dd
      
https://github.com/WebKit/WebKit/commit/33a1bca206e4f13118d2d3587297f47132fe48dd
  Author: Per Arne Vollan <pvol...@apple.com>
  Date:   2025-03-01 (Sat, 01 Mar 2025)

  Changed paths:
    M Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h
    M Source/WebKit/NetworkProcess/mac/NetworkConnectionToWebProcessMac.mm
    M Source/WebKit/WebProcess/WebProcess.cpp
    M Source/WebKit/WebProcess/WebProcess.h
    M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm

  Log Message:
  -----------
  Launch Services application information is sometimes not set
https://bugs.webkit.org/show_bug.cgi?id=288861
rdar://145876451

Reviewed by Chris Dumez.

There is currently a race between WebContent process checkin with Launch 
Services, and setting the
Launch Services application information for the WebContent process. Before the 
application information
can be set, the WebContent process needs to be checked in with Launch Services 
from the Networking
process. If Launch Services has not received the checkin message before it 
receives the application
information message, the latter will fail. This patch resolves this by storing 
the application
information when it's too soon to send, and then send it when the WebContent 
process has been
checked in.

* Source/WebKit/NetworkProcess/NetworkConnectionToWebProcess.h:
* Source/WebKit/NetworkProcess/mac/NetworkConnectionToWebProcessMac.mm:
(WebKit::NetworkConnectionToWebProcess::updateActivePages):
(WebKit::NetworkConnectionToWebProcess::checkInWebProcess):
* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::ensureNetworkProcessConnection):
* Source/WebKit/WebProcess/WebProcess.h:
* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::updateProcessName):

Canonical link: https://commits.webkit.org/291461@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