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:
@@ -1106,7 +1106,8 @@ void InterceptedRequest::OnURLLoaderClientError() {
|
||||
|
||||
void InterceptedRequest::OnURLLoaderError(uint32_t custom_reason,
|
||||
const std::string& description) {
|
||||
if (custom_reason == network::mojom::URLLoader::kClientDisconnectReason) {
|
||||
if (custom_reason == network::mojom::URLLoader::kClientDisconnectReason &&
|
||||
description == safe_browsing::kCustomCancelReasonForURLLoader) {
|
||||
SendErrorCallback(safe_browsing::kNetErrorCodeForSafeBrowsing, true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user