chore: remove dead code (#18370)

This commit is contained in:
Milan Burda 2019-05-21 08:36:22 +02:00 committed by Cheng Zhao
parent cac50608d6
commit e81afed66d

View file

@ -354,9 +354,6 @@ WebContents.prototype._init = function () {
app.emit('renderer-process-crashed', event, this, ...args)
})
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()