From 3647d39e700c215bd78172c5964eb1c550950f0f Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Wed, 17 Jul 2024 15:03:02 -0400 Subject: [PATCH] cefclient: Allow download with --hide-controls (fixes #3742) --- tests/cefclient/browser/client_handler.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/cefclient/browser/client_handler.cc b/tests/cefclient/browser/client_handler.cc index dfd75f2cd..d8559b4fd 100644 --- a/tests/cefclient/browser/client_handler.cc +++ b/tests/cefclient/browser/client_handler.cc @@ -850,12 +850,6 @@ bool ClientHandler::CanDownload(CefRefPtr browser, const CefString& request_method) { CEF_REQUIRE_UI_THREAD(); - if (!with_controls_) { - // Block the download. - LOG(INFO) << "Blocking download"; - return false; - } - // Allow the download. return true; }