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. Fired when the renderer process is crashed.
### Event: 'gpu-crashed'
Fired when the gpu process is crashed.
### Event: 'plugin-crashed' ### Event: 'plugin-crashed'
Returns: Returns:

View file

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

View file

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