You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In CEF 1 called immediately before the V8 context for a frame is released.
In CEF 3 called shortly after (process message delay) the V8 context for a frame was released.
Due to multi-process architecture in CEF 3, this function won't
get called for the main frame in main browser. To send a message
from the renderer process a parent browser is used. If this is
the main frame then this would mean that the browser is being
destroyed, thus we can't send a process message using this browser.
There is no guarantee that this will get called for frames in the
main browser, if the browser is destroyed shortly after the frames
were released.
void OnUncaughtException(Browserbrowser, Frameframe, dict exception, list stackTrace)
Not yet implemented in CEF Python 3.
Called for global uncaught exceptions. Execution of this callback is disabled by default. To enable set ApplicationSettings.uncaught_exception_stack_size > 0.
exception is a dictionary with following keys: lineNumber, message, scriptResourceName, sourceLine.
stackTrace is in the same format as returned by cefpython.GetJavascriptStackTrace(), see description of that function for more details. To get a string call cefpython.FormatJavascriptStackTrace().