electron/spec-main/fixtures/crash-cases
Keeley Hammond 06f51b7283
fix: prevent crash on web-contents creation when error is thrown (#28971)
* fix: prevent crash when error occurs during event emitter CallMethod

* wip: emit error event within trycatch

* fix: handle uncaught exceptions within node on web_contents init

* fix: create gin_helper::CallMethodCatchException

* test: add web-contents create crash to test cases

* test: clean up test data for web-contents crash

Co-authored-by: Jeremy Rose <jeremya@chromium.org>

* fix: convert CatchException to WebContents static helper method

* fix: restore try_catch to callsite

Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2021-05-11 13:57:11 -07:00
..
api-browser-destroy fix: prevent destroyed view references from causing crashes (#25411) 2020-09-16 18:10:49 -06:00
early-in-memory-session-create ci: fix WOA failing tests (#25018) 2020-08-24 12:58:55 -04:00
in-memory-session-double-free fix: browser contexts live forever (#24964) 2020-08-17 13:21:53 -07:00
quit-on-crashed-event test: disable some tests under ASan which might receive SIGKILL because of OOM (#28156) 2021-03-16 17:02:47 -04:00
setimmediate-renderer-crash fix: renderer crash on setImmediate (#26365) 2020-11-10 09:17:58 -08:00
transparent-window-get-background-color fix: handle a nil backgroundColor in win.getBackgroundColor() (#28120) 2021-03-14 17:26:47 -07:00
webcontents-create-leak-exit test: disable some tests under ASan which might receive SIGKILL because of OOM (#28156) 2021-03-16 17:02:47 -04:00
webcontentsview-create-leak-exit test: disable some tests under ASan which might receive SIGKILL because of OOM (#28156) 2021-03-16 17:02:47 -04:00
webview-attach-destroyed fix: check for destroyed webcontents in converter (#25431) 2020-09-16 12:25:49 -07:00
webview-contents-error-on-creation fix: prevent crash on web-contents creation when error is thrown (#28971) 2021-05-11 13:57:11 -07:00