External exception 80000003 (JS)

Post Reply
Posts: 240
Joined: Thu Nov 30, 2017 1:17 am

External exception 80000003 (JS)

Post by dilfich »

Updated the component from CEF 91.1.21 to version CEF 92.0.21.
External exception 80000003

Code: Select all

FChromium.Browser.MainFrame.ExecuteJavaScript(StrJS, FChromium.Browser.MainFrame.GetURL(), 0);
In the new version, errors began to occur when working with scripts, or the browser may hang at all. :(
Has something been changed in these calls?
User avatar
Posts: 3067
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain

Re: External exception 80000003 (JS)

Post by salvadordf »


CEF has changed a few things about frame handling lately. There are new events and methods to know when a frame is valid, created, attached, detached, etc.

I would suggest that you use TChromiumCore.ExecuteJavaScript instead of using TChromiumCore.Browser.MainFrame.ExecuteJavaScript because it checks if the browser and frame are valid before executing the JS code.
Post Reply