Merge pull request #7241 from miniak/crashed-killed

Add killed argument for webContents.on("crashed") and app.on("gpu-process-crashed") events
This commit is contained in:
Cheng Zhao 2016-09-19 16:02:52 +09:00 committed by GitHub
commit 26004f1a66
5 changed files with 17 additions and 6 deletions

View file

@ -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_

View file

@ -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'