Deprecate did-get-response-details and did-get-redirect-request (#12615)
* Deprecate webContents events did-get-response-details and did-get-redirect-request. * Update guest view files * Update webview tag docs and update specs * Update deprecate.event function * Update comment * Update more * Update documentation for other deprecated event
This commit is contained in:
parent
975964f9f0
commit
2579071b98
10 changed files with 47 additions and 37 deletions
|
@ -307,6 +307,9 @@ WebContents.prototype._init = function () {
|
|||
})
|
||||
})
|
||||
|
||||
deprecate.event(this, 'did-get-response-details', '-did-get-response-details')
|
||||
deprecate.event(this, 'did-get-redirect-request', '-did-get-redirect-request')
|
||||
|
||||
// The devtools requests the webContents to reload.
|
||||
this.on('devtools-reload-page', function () {
|
||||
this.reload()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue