Skip to content

Commit

Permalink
fix: remove non-existent gpu-crashed event on <webview> (#17317) (#18004
Browse files Browse the repository at this point in the history
)
  • Loading branch information
miniak authored and codebytere committed Apr 29, 2019
1 parent 761b143 commit 2f426a0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions docs/api/webview-tag.md
Expand Up @@ -887,10 +887,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:
Expand Down
1 change: 0 additions & 1 deletion lib/browser/guest-view-manager.js
Expand Up @@ -36,7 +36,6 @@ const supportedWebViewEvents = [
'focus-change',
'close',
'crashed',
'gpu-crashed',
'plugin-crashed',
'destroyed',
'page-title-updated',
Expand Down
1 change: 0 additions & 1 deletion lib/renderer/web-view/guest-view-internal.js
Expand Up @@ -28,7 +28,6 @@ const WEB_VIEW_EVENTS = {
'focus-change': ['focus', 'guestInstanceId'],
'close': [],
'crashed': [],
'gpu-crashed': [],
'plugin-crashed': ['name', 'version'],
'destroyed': [],
'page-title-updated': ['title', 'explicitSet'],
Expand Down

0 comments on commit 2f426a0

Please sign in to comment.