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
[GTK] Test /webkit2/WebKitWebContext/languages crashes with network p…
…rocess enabled https://bugs.webkit.org/show_bug.cgi?id=126130 Reviewed by Anders Carlsson. We need to notify the network process when the user preferred languages have changed to update the SoupSession accordingly. * NetworkProcess/NetworkProcess.h: Add userPreferredLanguagesChanged when using soup network backend. * NetworkProcess/NetworkProcess.messages.in: Add UserPreferredLanguagesChanged message when using soup network backend. * NetworkProcess/soup/NetworkProcessSoup.cpp: (WebKit::NetworkProcess::userPreferredLanguagesChanged): Update the SoupSession to use the given languages. (WebKit::NetworkProcess::platformInitializeNetworkProcess): Call userPreferredLanguagesChanged() when initialization parameters contain languages. (WebKit::NetworkProcess::allowSpecificHTTPSCertificateForHost): Remove unnedded WebCore prefix. (WebKit::NetworkProcess::clearCacheForAllOrigins): Simplify using a single line. * Shared/Network/NetworkProcessCreationParameters.cpp: (WebKit::NetworkProcessCreationParameters::encode): Encode the languages vector. (WebKit::NetworkProcessCreationParameters::decode): Decode the languages vector. * Shared/Network/NetworkProcessCreationParameters.h: * UIProcess/WebContext.cpp: (WebKit::WebContext::languageChanged): Send a message also to the network process. * UIProcess/soup/WebContextSoup.cpp: (WebKit::WebContext::platformInitializeNetworkProcess): Set languages initial parameter. Canonical link: https://commits.webkit.org/144960@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
9cb164b
commit 08e02a796e80c8ff0510c8306d71d8256b6bd8fb
Showing
8 changed files
with
60 additions
and
2 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