Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

CEF4Delphi recent updates

Post Reply
User avatar
salvadordf
Posts: 4572
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

CEF4Delphi recent updates

Post by salvadordf »

Hi,

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.
The description for the "--disable-site-isolation-trials" switch is this :
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.
GlobalCEFApp.DisableSiteIsolationTrials is a workaround for cross origin errors and it's equivalent to the "Site isolation trial opt-out" flag in Chrome.

The CEF binaries used in this version are the same as the previous release :
https://www.briskbard.com/forum/viewtop ... f=8&t=1047
User avatar
salvadordf
Posts: 4572
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: CEF4Delphi recent updates

Post by salvadordf »

I'm not aware of any issues related to that workaround but I don't work for Google and I'm not in the Chrome development team so my information is limited.

The site isolation feature is a security feature and it's not recommended to disable it but it still has some known unresolved issues.

Read this for more information :
https://www.chromium.org/Home/chromium- ... -isolation
https://bitbucket.org/chromiumembedded/ ... er-process
Post Reply