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:
Nitish Sakhawalkar 2018-04-23 12:46:12 -07:00 committed by Charles Kerr
parent 975964f9f0
commit 2579071b98
10 changed files with 47 additions and 37 deletions

View file

@ -89,7 +89,7 @@ Corresponds to the points in time when the spinner of the tab started spinning.
Corresponds to the points in time when the spinner of the tab stopped spinning.
#### Event: 'did-get-response-details'
#### Event: 'did-get-response-details' *(Deprecated)*
Returns:
@ -106,7 +106,8 @@ Returns:
Emitted when details regarding a requested resource are available.
`status` indicates the socket connection to download the resource.
#### Event: 'did-get-redirect-request'
**Deprecated**: This event has been deprecated. Use the [`webRequest`](web-request.md) module which provides similar navigation details on a subscription basis.
#### Event: 'did-get-redirect-request' *(Deprecated)*
Returns:
@ -120,7 +121,7 @@ Returns:
* `headers` Object
Emitted when a redirect is received while requesting a resource.
**Deprecated**: This event has been deprecated. Use the [`webRequest`](web-request.md) module which provides similar navigation details on a subscription basis.
#### Event: 'dom-ready'
Returns:

View file

@ -663,7 +663,7 @@ Corresponds to the points in time when the spinner of the tab starts spinning.
Corresponds to the points in time when the spinner of the tab stops spinning.
### Event: 'did-get-response-details'
### Event: 'did-get-response-details' *(Deprecated)*
Returns:
@ -679,7 +679,8 @@ Returns:
Fired when details regarding a requested resource is available.
`status` indicates socket connection to download the resource.
### Event: 'did-get-redirect-request'
**Deprecated**: This event has been deprecated. Use the [`webRequest`](web-request.md) module which provides similar navigation details on a subscription basis.
### Event: 'did-get-redirect-request' *(Deprecated)*
Returns:
@ -688,7 +689,7 @@ Returns:
* `isMainFrame` Boolean
Fired when a redirect was received while requesting a resource.
**Deprecated**: This event has been deprecated. Use the [`webRequest`](web-request.md) module which provides similar navigation details on a subscription basis.
### Event: 'dom-ready'
Fired when document in the given frame is loaded.