mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add killed argument for webContents.on("crashed") and app.on("gpu-process-crashed") events
This commit is contained in:
@@ -280,7 +280,12 @@ app.on('login', (event, webContents, request, authInfo, callback) => {
|
||||
|
||||
### Event: 'gpu-process-crashed'
|
||||
|
||||
Emitted when the gpu process crashes.
|
||||
Returns:
|
||||
|
||||
* `event` Event
|
||||
* `killed` Boolean
|
||||
|
||||
Emitted when the gpu process crashes or is killed.
|
||||
|
||||
### Event: 'accessibility-support-changed' _macOS_ _Windows_
|
||||
|
||||
|
||||
@@ -203,7 +203,12 @@ are clicked or when the DOM `hashchange` event is triggered.
|
||||
|
||||
#### Event: 'crashed'
|
||||
|
||||
Emitted when the renderer process has crashed.
|
||||
Returns:
|
||||
|
||||
* `event` Event
|
||||
* `killed` Boolean
|
||||
|
||||
Emitted when the renderer process crashes or is killed.
|
||||
|
||||
#### Event: 'plugin-crashed'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user