fix: remove non-existent gpu-crashed event on <webview> (#17317) (#18003)

This commit is contained in:
Milan Burda
2019-04-30 00:22:01 +02:00
committed by Shelley Vohr
parent 4a6cad7ba5
commit 3fd0ac6d44
3 changed files with 0 additions and 6 deletions

View File

@@ -866,10 +866,6 @@ ipcRenderer.on('ping', () => {
Fired when the renderer process is crashed.
### Event: 'gpu-crashed'
Fired when the gpu process is crashed.
### Event: 'plugin-crashed'
Returns:

View File

@@ -36,7 +36,6 @@ const supportedWebViewEvents = [
'focus-change',
'close',
'crashed',
'gpu-crashed',
'plugin-crashed',
'destroyed',
'page-title-updated',

View File

@@ -28,7 +28,6 @@ const WEB_VIEW_EVENTS = {
'focus-change': ['focus', 'guestInstanceId'],
'close': [],
'crashed': [],
'gpu-crashed': [],
'plugin-crashed': ['name', 'version'],
'destroyed': [],
'page-title-updated': ['title', 'explicitSet'],