File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -431,18 +431,15 @@ however these APIs were not yet exposed to CEF Python.
431431
432432## Javascript exceptions and Python exceptions
433433
434- There are cases when executing Javascript code may end up with
435- Python exception being thrown:
434+ When a Python function is invoked from Javascript and it fails,
435+ a Python exception will be thrown. When Python executes a Javascript
436+ callback and it fails, a Javascript exception will be thrown.
436437
437- 1 . When a Python function is invoked from Javascript and it fails,
438- a Python exception will be thrown
439- 2 . When Python executes a Javascript callback and it fails,
440- a Python exception will be thrown
441-
442- In other cases to see Javascript exceptions open Developer Tools
438+ To see Javascript exceptions open Developer Tools
443439window using mouse context menu and switch to Console tab.
444440
445- There are multiple ways to catch/intercept javascript exceptions:
441+ There are multiple ways to intercept javascript exceptions programmaticaly
442+ in CEF:
446443
4474441 . In Javascript you can register "window.onerror" event to
448445 catch all Javascript exceptions
You can’t perform that action at this time.
0 commit comments