CEF4Delphi recent updates
Posted: Wed Dec 04, 2019 11:02 am
Hi,
CEF4Delphi has been updated with the following changes :
The CEF binaries used in this version are the same as the previous release :
https://www.briskbard.com/forum/viewtop ... f=8&t=1047
CEF4Delphi has been updated with the following changes :
- TChromium.CreateClientHandler now tries to create the resource request handler when you call it before showing a new tab or popup window.
- New TChromium.AcceptLanguageList property. This property modifies the browser preferences and it can be called after TChromium.CreateBrowser. It accepts the same values as GlobalCEFApp.AcceptLanguageList and TChromium.Options.AcceptLanguageList.
- New menu option to set the Accept Language List in MiniBrowser to test the new TChromium.AcceptLanguageList property.
- CookieVisitor now uses the TChromium.OnCanSaveCookie event to block some cookies from a custom domain.
- Added GlobalCEFApp.DisableSiteIsolationTrials property. This property adds the "--disable-site-isolation-trials" command line switch when CEF is initialized.
GlobalCEFApp.DisableSiteIsolationTrials is a workaround for cross origin errors and it's equivalent to the "Site isolation trial opt-out" flag in Chrome.Disables site isolation. Note that the opt-in (to site-per-process, isolate-origins, etc.) via enterprise policy and/or cmdline takes precedence over the kDisableSiteIsolation switch (i.e. the opt-in takes effect despite potential presence of kDisableSiteIsolation switch). Note that for historic reasons the name of the switch misleadingly mentions "trials", but the switch also disables the default site isolation that ships on desktop since M67. The name of the switch is preserved for backcompatibility of chrome://flags.
The CEF binaries used in this version are the same as the previous release :
https://www.briskbard.com/forum/viewtop ... f=8&t=1047