Get error on JS ?
Posted: Tue Mar 17, 2020 12:43 am
Hi,
How can i intercept errors that occur when i run a JS code ? It seems OnConsoleMessage won't intercept errors.
For instance, if i run this code below in Chrome :
I will get this :
How can i get the error above in Cef4Delphi ?
Thanks
How can i intercept errors that occur when i run a JS code ? It seems OnConsoleMessage won't intercept errors.
For instance, if i run this code below in Chrome :
Code: Select all
car foo="bar";
Code: Select all
VM44:1 Uncaught SyntaxError: Unexpected identifier
Thanks