Update to CEF 78.2.14

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

Update to CEF 78.2.14

Post by salvadordf » Wed Nov 06, 2019 10:23 am

Hi,

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

The CEF binaries are :
  • 32 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_78.2.14%2Bg9633d3e%2Bchromium-78.0.3904.87_windows32.tar.bz2
  • 64 bits -> http://opensource.spotify.com/cefbuilds/cef_binary_78.2.14%2Bg9633d3e%2Bchromium-78.0.3904.87_windows64.tar.bz2
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/CEF4Delphi/releases/latest

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

Re: Update to CEF 78.2.14

Post by salvadordf » Wed Nov 06, 2019 11:57 am

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: 1950
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update to CEF 78.2.14

Post by salvadordf » Wed Nov 06, 2019 3:02 pm

This CEF issue may be the cause of random crashes in complex sites :
https://bitbucket.org/chromiumembedded/cef/issues/2799/cefclient-crash-in-cefbrowserinfo

dian
Posts: 8
Joined: Thu Aug 29, 2019 8:42 am

Re: Update to CEF 78.2.14

Post by dian » Thu Nov 07, 2019 5:53 am

Which is the replacement for Frame.LoadString() ?

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

Re: Update to CEF 78.2.14

Post by salvadordf » Thu Nov 07, 2019 10:20 am

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/CEF4Delphi/blob/172e7ba9e4ef23ff4cc6073b1766ecf7831e33f7/demos/Delphi_VCL/MiniBrowser/uMiniBrowser.pas#L767

thefunkyjoint
Posts: 223
Joined: Thu Aug 10, 2017 12:40 pm

Re: Update to CEF 78.2.14

Post by thefunkyjoint » Thu Nov 07, 2019 5:39 pm

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/cef/issues/2799/cefclient-crash-in-cefbrowserinfo
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: 1950
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update to CEF 78.2.14

Post by salvadordf » Thu Nov 07, 2019 5:45 pm

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

...but the shutdown issue is not fixed yet. :oops:

dian
Posts: 8
Joined: Thu Aug 29, 2019 8:42 am

Re: Update to CEF 78.2.14

Post by dian » Fri Nov 08, 2019 1:03 am

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: 1950
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Update to CEF 78.2.14

Post by salvadordf » Fri Nov 08, 2019 8:38 am

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/viewtopic.php?f=8&t=543&p=4196&hilit=ResponseFilterBrowser#p4196
https://www.briskbard.com/forum/viewtopic.php?f=8&t=1006&p=4425&hilit=ResponseFilterBrowser#p4425

dilfich
Posts: 128
Joined: Thu Nov 30, 2017 1:17 am

Re: Update to CEF 78.2.14

Post by dilfich » Fri Nov 08, 2019 9:38 am

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