fix: remove non-existent gpu-crashed event on <webview> (#17317)
This commit is contained in:
parent
e77d065875
commit
48a95f9677
3 changed files with 0 additions and 6 deletions
|
@ -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:
|
||||||
|
|
|
@ -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',
|
||||||
|
|
|
@ -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'],
|
||||||
|
|
Loading…
Reference in a new issue