Title: [291620] trunk/Source/WebKit
- Revision
- 291620
- Author
- pvol...@apple.com
- Date
- 2022-03-22 08:30:27 -0700 (Tue, 22 Mar 2022)
Log Message
Ensure there is a Network process after launching the WebContent process
https://bugs.webkit.org/show_bug.cgi?id=238080
<rdar://88933565>
Reviewed by Chris Dumez.
After the WebContent process has finished launching, ensure there is a Network process
which will provide the WebContent process with the Launch Services database.
* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didFinishLaunching):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (291619 => 291620)
--- trunk/Source/WebKit/ChangeLog 2022-03-22 15:25:30 UTC (rev 291619)
+++ trunk/Source/WebKit/ChangeLog 2022-03-22 15:30:27 UTC (rev 291620)
@@ -1,3 +1,17 @@
+2022-03-22 Per Arne Vollan <pvol...@apple.com>
+
+ Ensure there is a Network process after launching the WebContent process
+ https://bugs.webkit.org/show_bug.cgi?id=238080
+ <rdar://88933565>
+
+ Reviewed by Chris Dumez.
+
+ After the WebContent process has finished launching, ensure there is a Network process
+ which will provide the WebContent process with the Launch Services database.
+
+ * UIProcess/WebProcessProxy.cpp:
+ (WebKit::WebProcessProxy::didFinishLaunching):
+
2022-03-22 Wenson Hsieh <wenson_hs...@apple.com>
-[WKWebView _spellCheckerDocumentTag] is inconsistent with the document tag passed into NSSpellChecker
Modified: trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp (291619 => 291620)
--- trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp 2022-03-22 15:25:30 UTC (rev 291619)
+++ trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp 2022-03-22 15:30:27 UTC (rev 291620)
@@ -1046,6 +1046,13 @@
#if PLATFORM(COCOA)
if (auto networkProcess = NetworkProcessProxy::defaultNetworkProcess())
networkProcess->sendXPCEndpointToProcess(*this);
+ else {
+ RunLoop::main().dispatch([weakThis = WeakPtr { *this }] {
+ if (!weakThis)
+ return;
+ NetworkProcessProxy::ensureDefaultNetworkProcess()->sendXPCEndpointToProcess(*weakThis);
+ });
+ }
#endif
RELEASE_ASSERT(!m_webConnection);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes