Changeset 235321 in webkit
- Timestamp:
- Aug 24, 2018 10:46:01 AM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r235282 r235321 1 2018-08-24 Sihui Liu <sihui_liu@apple.com> 2 3 Don't launch network process in WebCookieManagerProxy::setHTTPCookieAcceptPolicy 4 https://bugs.webkit.org/show_bug.cgi?id=188906 5 <rdar://problem/43539661> 6 7 Reviewed by Geoffrey Garen. 8 9 In WebCookieManagerProxy::setHTTPCookieAcceptPolicy, we persist the cookieAcceptPolicy of 10 sharedCookieStorage. When we launch the network process later, we pass the 11 identifier of sharedCookieStorage to network process, so network process has the correct 12 cookieAcceptPolicy. Therefore, we don't have to launch the network process and send the 13 setting message if the network process is not launched. 14 15 * UIProcess/WebCookieManagerProxy.cpp: 16 (WebKit::WebCookieManagerProxy::setHTTPCookieAcceptPolicy): 17 1 18 2018-08-23 Carlos Garcia Campos <cgarcia@igalia.com> 2 19 -
trunk/Source/WebKit/UIProcess/WebCookieManagerProxy.cpp
r235265 r235321 252 252 #endif 253 253 254 if (!processPool()->networkProcess()) 255 return; 256 254 257 auto callbackID = m_callbacks.put(WTFMove(callbackFunction), processPool()->ensureNetworkProcess().throttler().backgroundActivityToken()); 255 258 processPool()->sendToNetworkingProcess(Messages::WebCookieManager::SetHTTPCookieAcceptPolicy(policy, OptionalCallbackID(callbackID)));
Note: See TracChangeset
for help on using the changeset viewer.