Update to CEF 78.2.14

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

Update to CEF 78.2.14

Post by salvadordf »

Hi,

CEF4Delphi is now updated to CEF 78.2.14 which includes Chromium 78.0.3904.87 :D

The CEF binaries are : WARNING :
The shutdown and resize issues in OSR mode are still present. Use the latest release version if you need a stable component :
https://github.com/salvadordf/CEF4Delph ... ses/latest
User avatar
salvadordf
Posts: 2986
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update to CEF 78.2.14

Post by salvadordf »

If you have stability issues with this version please try adding this before the GlobalCEFApp.StartMainProcess call in the DPR file :

Code: Select all

GlobalCEFApp.AddCustomCommandLine('-–disable-site-isolation-trials');
User avatar
salvadordf
Posts: 2986
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update to CEF 78.2.14

Post by salvadordf »

This CEF issue may be the cause of random crashes in complex sites :
https://bitbucket.org/chromiumembedded/ ... rowserinfo
dian
Posts: 21
Joined: Thu Aug 29, 2019 8:42 am

Re: Update to CEF 78.2.14

Post by dian »

Which is the replacement for Frame.LoadString() ?
User avatar
salvadordf
Posts: 2986
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update to CEF 78.2.14

Post by salvadordf »

dian wrote: Thu Nov 07, 2019 5:53 am Which is the replacement for Frame.LoadString() ?
Please, download the latest CEF4Delphi again from GitHub. It includes a new TChromium.LoadString procedure that uses a DATA URL.
If you need to load a string in a specific frame, use the second "aFrame" parameter.

The MiniBrowser demo uses it here :
https://github.com/salvadordf/CEF4Delph ... r.pas#L767
thefunkyjoint
Posts: 320
Joined: Thu Aug 10, 2017 12:40 pm

Re: Update to CEF 78.2.14

Post by thefunkyjoint »

salvadordf wrote: Wed Nov 06, 2019 3:02 pm This CEF issue may be the cause of random crashes in complex sites :
https://bitbucket.org/chromiumembedded/ ... rowserinfo
They marked the issue to 'fixed' ; does it mean the latest CEF4Delphi release already includes the fix, as it uses the latest CEF release :?:
User avatar
salvadordf
Posts: 2986
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update to CEF 78.2.14

Post by salvadordf »

Yes, that fix is included in the latest CEF4Delphi version :
https://www.briskbard.com/forum/viewtop ... f=8&t=1023

...but the shutdown issue is not fixed yet. :oops:
dian
Posts: 21
Joined: Thu Aug 29, 2019 8:42 am

Re: Update to CEF 78.2.14

Post by dian »

salvadordf wrote: Thu Nov 07, 2019 10:20 am Please, download the latest CEF4Delphi again from GitHub. It includes a new TChromium.LoadString procedure that uses a DATA URL.
If you need to load a string in a specific frame, use the second "aFrame" parameter.
That's good but how to bind this string to certain URL?
User avatar
salvadordf
Posts: 2986
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update to CEF 78.2.14

Post by salvadordf »

That's not possible with the new TChromium.LoadString procedure.

What you describe can only be accomplished with a "filter" to replace the entire contents of a web page with your own contents.

Read this for more details :
https://www.briskbard.com/forum/viewtop ... wser#p4196
https://www.briskbard.com/forum/viewtop ... wser#p4425
dilfich
Posts: 239
Joined: Thu Nov 30, 2017 1:17 am

Re: Update to CEF 78.2.14

Post by dilfich »

dian wrote: Fri Nov 08, 2019 1:03 am That's good but how to bind this string to certain URL?
Apparently Google realized that this function is not used for its intended purpose and stupidly removed, more or less stable version of the latter is 75.1.14. If you need the LoadString function there is no point in updates anymore. ((
filter and other crap will not replace this function (
Post Reply