diff --git a/lib/browser/guest-view-manager.js b/lib/browser/guest-view-manager.js index a6737b1b8e..0ac10b30ca 100644 --- a/lib/browser/guest-view-manager.js +++ b/lib/browser/guest-view-manager.js @@ -19,7 +19,6 @@ let supportedWebViewEvents = [ 'did-navigate-in-page', 'security-style-changed', 'close', - 'crashed', 'gpu-crashed', 'plugin-crashed', 'will-destroy', @@ -69,7 +68,7 @@ const registerGuest = function (guest, embedder) { return let forceSend = false - if (['destroyed', 'crashed', 'did-detach', 'will-detach'].includes(event)) { + if (['destroyed', 'did-detach', 'will-detach'].includes(event)) { delete guests[tabId] forceSend = true } diff --git a/lib/renderer/web-view/guest-view-internal.js b/lib/renderer/web-view/guest-view-internal.js index 8f04343348..2460d7929e 100644 --- a/lib/renderer/web-view/guest-view-internal.js +++ b/lib/renderer/web-view/guest-view-internal.js @@ -17,7 +17,6 @@ var WEB_VIEW_EVENTS = { 'did-navigate': ['url', 'isRendererInitiated'], 'did-navigate-in-page': ['url', 'isMainFrame'], 'close': [], - 'crashed': [], 'gpu-crashed': [], 'plugin-crashed': ['name', 'version'], 'will-destroy': [],