From 7ec49e1f957961c1583023f190e550c05cfb885b Mon Sep 17 00:00:00 2001 From: Salvador Diaz Fau Date: Mon, 21 Dec 2020 19:44:10 +0100 Subject: [PATCH] Added workaround for the CEF issue #2899 https://bitbucket.org/chromiumembedded/cef/issues/2899/cefsettingsignore_certificate_errors-true --- source/uCEFApplicationCore.pas | 5 +++++ update_CEF4Delphi.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/source/uCEFApplicationCore.pas b/source/uCEFApplicationCore.pas index 01d6f4c9..3393b8a1 100644 --- a/source/uCEFApplicationCore.pas +++ b/source/uCEFApplicationCore.pas @@ -1887,6 +1887,11 @@ begin if (length(FOverrideSpellCheckLang) > 0) then ReplaceSwitch(aKeys, aValues, '--override-spell-check-lang', FOverrideSpellCheckLang); + // This is a workaround for the CEF issue #2899 + // https://bitbucket.org/chromiumembedded/cef/issues/2899/cefsettingsignore_certificate_errors-true + if FIgnoreCertificateErrors then + ReplaceSwitch(aKeys, aValues, '--ignore-certificate-errors'); + if (FForcedDeviceScaleFactor <> 0) then begin {$IFDEF FPC} diff --git a/update_CEF4Delphi.json b/update_CEF4Delphi.json index ce09acc2..5635ba7f 100644 --- a/update_CEF4Delphi.json +++ b/update_CEF4Delphi.json @@ -2,7 +2,7 @@ "UpdateLazPackages" : [ { "ForceNotify" : true, - "InternalVersion" : 211, + "InternalVersion" : 212, "Name" : "cef4delphi_lazarus.lpk", "Version" : "87.1.12.0" }