Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
REGRESSION(r267763): [SOUP] After network process crash, all cookies …
…are lost until browser is restarted https://bugs.webkit.org/show_bug.cgi?id=228128 Reviewed by Adrian Perez de Castro. Cookies configuration is no longer stored to be sent again to the new network process after a crash. * NetworkProcess/NetworkSessionCreationParameters.cpp: (WebKit::NetworkSessionCreationParameters::encode const): Encode cookieAcceptPolicy. (WebKit::NetworkSessionCreationParameters::decode): Decode cookieAcceptPolicy. * NetworkProcess/NetworkSessionCreationParameters.h: Add cookieAcceptPolicy. * NetworkProcess/soup/NetworkSessionSoup.cpp: (WebKit::NetworkSessionSoup::NetworkSessionSoup): Set cookie accept policy on NetworkStorageSession. * UIProcess/API/glib/WebKitCookieManager.cpp: (webkit_cookie_manager_set_persistent_storage): Use WebsiteDataStore API to cache the given values. (webkit_cookie_manager_set_accept_policy): Ditto. * UIProcess/WebCookieManagerProxy.h: * UIProcess/WebsiteData/WebsiteDataStore.h: * UIProcess/WebsiteData/soup/WebsiteDataStoreSoup.cpp: (WebKit::WebsiteDataStore::platformSetNetworkParameters): Set cached cookie settings to network session parameters. (WebKit::WebsiteDataStore::setCookiePersistentStorage): Cache the given value and notify the cookie manager. (WebKit::WebsiteDataStore::setHTTPCookieAcceptPolicy): Ditto. * UIProcess/soup/WebCookieManagerProxySoup.cpp: (WebKit::WebCookieManagerProxy::getCookiePersistentStorage const): Deleted. Canonical link: https://commits.webkit.org/239838@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
41d205c
commit 12d00c369b5f2fbef9406abfcb8dbe29a0090131
Showing
9 changed files
with
72 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters