3

I'm use CEF 3.2623.1401.gb90a3be (Chromium 49.0.2623.110) in my project in Delphi 10.1. (I have to use a fairly old version of CEF/Chromium for backwards compatibility with WinXP). How do I can check if a site is not reachable? if I try to open any obviously non-existent or inaccessible site in a normal Chrome browser - I get an error like DNS_PROBE_FINISHED_NXDOMAIN or ERR_INTERNET_DISCONNECTED, but in my embedded Chromium I get just a blank page without anything. Can I somehow catch such errors in Chromium?

Red October
  • 487
  • 1
  • 8
  • 27

1 Answers1

3

Yes, you can. There is the OnLoadError event that you can handle (error codes you can then find in the ceferr.pas module).

Victoria
  • 7,477
  • 2
  • 18
  • 40