Changeset 230076 in webkit
- Timestamp:
- Mar 29, 2018 9:28:03 AM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r230074 r230076 1 2018-03-29 Brent Fulgham <bfulgham@apple.com> 2 3 REGRESSION(r229480): ERROR: Unhandled web process message 'WebCookieManager:SetHTTPCookieAcceptPolicy' 4 https://bugs.webkit.org/show_bug.cgi?id=184124 5 <rdar://problem/38998971> 6 7 Reviewed by Chris Dumez. 8 9 Cookie accept policy messages were still being sent to the WebContent process after 10 I removed cookie access in r229480. The WebContent process no longer recognizes these 11 messages, and generates logging to that effect. 12 13 This patch stops sending these unnecessary messages to the WebContent process. Only the 14 Network process needs to receive this information. 15 16 * UIProcess/WebCookieManagerProxy.cpp: 17 (WebKit::WebCookieManagerProxy::setHTTPCookieAcceptPolicy): 18 1 19 2018-03-29 Carlos Eduardo Ramalho <cadubentzen@gmail.com> 2 20 -
trunk/Source/WebKit/UIProcess/WebCookieManagerProxy.cpp
r226349 r230076 253 253 #endif 254 254 255 // The policy is not sent to newly created processes (only Soup does that via setInitialHTTPCookieAcceptPolicy()). This is not a serious problem, because:256 // - When testing, we only have one WebProcess and one NetworkProcess, and WebKitTestRunner never restarts them;257 // - When not testing, Cocoa has the policy persisted, and thus new processes use it (even for ephemeral sessions).258 processPool()->sendToAllProcesses(Messages::WebCookieManager::SetHTTPCookieAcceptPolicy(policy, OptionalCallbackID()));259 260 255 auto callbackID = m_callbacks.put(WTFMove(callbackFunction)); 261 256 processPool()->sendToNetworkingProcess(Messages::WebCookieManager::SetHTTPCookieAcceptPolicy(policy, OptionalCallbackID(callbackID)));
Note: See TracChangeset
for help on using the changeset viewer.