REGRESSION (r231850): Cookie file cannot be read or written by network process
[WebKit-https.git] / Source / WebKit / UIProcess / Network / NetworkProcessProxy.cpp
index cbb182b..e7b2eec 100644 (file)
@@ -82,6 +82,9 @@ NetworkProcessProxy::NetworkProcessProxy(WebProcessPool& processPool)
     , m_throttler(*this, processPool.shouldTakeUIBackgroundAssertion())
 {
     connect();
+
+    if (auto* websiteDataStore = m_processPool.websiteDataStore())
+        m_websiteDataStores.set(websiteDataStore->websiteDataStore().sessionID(), makeRef(websiteDataStore->websiteDataStore()));
 }
 
 NetworkProcessProxy::~NetworkProcessProxy()