+ // FIXME: Use SessionTracker to make sure the correct cookie storage is used once there is more than one NetworkSession.
+ if (auto* session = SessionTracker::session(WebCore::SessionID::defaultSessionID())) {
+ if (CFHTTPCookieStorageRef storage = session->cookieStorage().get())
+ configuration.HTTPCookieStorage = [[[NSHTTPCookieStorage alloc] _initWithCFHTTPCookieStorage:storage] autorelease];
+ }