salvadordf / CEF4Delphi

CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows, Linux and MacOS.
https://www.briskbard.com/forum/
Other
1.2k stars 365 forks source link

Redirecting itself to about:blank. #424

Closed paulolezak closed 2 years ago

paulolezak commented 2 years ago

lately the component is redirecting itself to about:blank.

Leave the current page for no apparent reason.

salvadordf commented 2 years ago

If the render process crashes the browser shows a white screen.

Enable the log like this : GlobalCEFApp.LogFile := 'debug.log'; GlobalCEFApp.LogSeverity := LOGSEVERITY_INFO;

You can also implement the TChromium.OnRenderProcessTerminated event to see if the render process crashed.

If you can't see anything relevant in the log and TChromium.OnRenderProcessTerminated is not triggered then provide some code to reproduce this issue in my computer.