mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Always save cookies for http, https, ws and wss schemes (issue #1684)
This commit is contained in:
@@ -43,10 +43,6 @@ ClientApp::ProcessType ClientApp::GetProcessType(
|
||||
|
||||
void ClientApp::OnRegisterCustomSchemes(
|
||||
CefRefPtr<CefSchemeRegistrar> registrar) {
|
||||
// Default schemes that support cookies.
|
||||
cookieable_schemes_.push_back("http");
|
||||
cookieable_schemes_.push_back("https");
|
||||
|
||||
RegisterCustomSchemes(registrar, cookieable_schemes_);
|
||||
}
|
||||
|
||||
|
@@ -1083,8 +1083,6 @@ class CookieTestSchemeHandler : public TestHandler {
|
||||
|
||||
if (scheme_ != "http") {
|
||||
std::vector<CefString> schemes;
|
||||
schemes.push_back("http");
|
||||
schemes.push_back("https");
|
||||
schemes.push_back(scheme_);
|
||||
|
||||
manager1_->SetSupportedSchemes(schemes, NULL);
|
||||
|
@@ -1003,8 +1003,6 @@ class RequestTestHandler : public TestHandler,
|
||||
|
||||
// Set the schemes that are allowed to store cookies.
|
||||
std::vector<CefString> supported_schemes;
|
||||
supported_schemes.push_back("http");
|
||||
supported_schemes.push_back("https");
|
||||
supported_schemes.push_back(kRequestScheme);
|
||||
|
||||
// Continue the test once supported schemes has been set.
|
||||
|
Reference in New Issue
Block a user