salvadordf / CEF4Delphi

CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows, Linux and MacOS.
https://www.briskbard.com/forum/
Other
1.2k stars 365 forks source link

ResponseFilterBrowser demo not working in CEF 103 #427

Closed salvadordf closed 2 years ago

salvadordf commented 2 years ago

The ResponseFilterBrowser is not working in CEF 103.

The TCustomResponseFilter.OnFilter event is not triggered.

This demo worked correctly in CEF 102.

salvadordf commented 2 years ago

Related CEF issue : https://bitbucket.org/chromiumembedded/cef/issues/3345/getresourceresponsefilter-not-called-for

salvadordf commented 2 years ago

The workaround commented in the CEF issue works.

Add this code line before the GlobalCEFApp.StarMainProcess in the DPR file : GlobalCEFApp.DisableFeatures := 'CombineResponseBody';

salvadordf commented 2 years ago

The CEF project maintainer said that this issue seems to be fixed in Chromium 104.

salvadordf commented 2 years ago

Closing because this is fixed in the current CEF version (104)