Browse Source

fix: <webview> render-process-gone event dispatch (#26575)

Co-authored-by: Milan Burda <[email protected]>
Milan Burda 4 years ago
parent
commit
46578e139c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/renderer/web-view/guest-view-internal.ts

+ 1 - 0
lib/renderer/web-view/guest-view-internal.ts

@@ -27,6 +27,7 @@ const WEB_VIEW_EVENTS: Record<string, Array<string>> = {
   'focus-change': ['focus', 'guestInstanceId'],
   'close': [],
   'crashed': [],
+  'render-process-gone': ['details'],
   'plugin-crashed': ['name', 'version'],
   'destroyed': [],
   'page-title-updated': ['title', 'explicitSet'],