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

This commit is contained in:
Milan Burda 2019-03-12 01:25:46 +01:00 committed by Samuel Attard
parent e77d065875
commit 48a95f9677
3 changed files with 0 additions and 6 deletions

View file

@ -885,10 +885,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

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