mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
tests: Change HTTP test URLs to HTTPS
This avoids unexpected HTTP to HTTPS redirects which cause test failures with the Chrome runtime.
This commit is contained in:
@@ -1741,7 +1741,7 @@ class RequestTestRunner : public base::RefCountedThreadSafe<RequestTestRunner> {
|
||||
|
||||
// The referrer URL must be HTTP or HTTPS. This is enforced by
|
||||
// GURL::GetAsReferrer() called from URLRequest::SetReferrer().
|
||||
settings_.request->SetReferrer("http://tests.com/referrer.html",
|
||||
settings_.request->SetReferrer("https://tests.com/referrer.html",
|
||||
REFERRER_POLICY_DEFAULT);
|
||||
|
||||
settings_.response = CefResponse::Create();
|
||||
|
Reference in New Issue
Block a user