Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 961481a24076e5ec9061c05aaee06770c3b00161
https://github.com/WebKit/WebKit/commit/961481a24076e5ec9061c05aaee06770c3b00161
Author: Per Arne Vollan <[email protected]>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M Source/JavaScriptCore/inspector/remote/RemoteInspector.h
M Source/JavaScriptCore/inspector/remote/cocoa/RemoteInspectorCocoa.mm
M Source/WebKit/WebProcess/WebProcess.cpp
Log Message:
-----------
Establishing the connection to webinspectord can sometimes fail
https://bugs.webkit.org/show_bug.cgi?id=276512
rdar://130712941
Reviewed by Chris Dumez.
There is currently a race condition when establishing the XPC connection from
the WebContent process to
webinspectord. If the XPC connection is being established after we block access
to launchd, establishing
the connection will not succeed. Launchd is being blocked before first page
load. This patch addresses
this by establishing the XPC connection before this point in time.
* Source/JavaScriptCore/inspector/remote/RemoteInspector.h:
* Source/JavaScriptCore/inspector/remote/cocoa/RemoteInspectorCocoa.mm:
(Inspector::RemoteInspector::connectToWebInspector):
* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::initializeWebProcess):
Canonical link: https://commits.webkit.org/280912@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes