docs: deprecate: Request.serviceWorker
This commit is contained in:
parent
c8cc4f9c8b
commit
b0ce7ee246
|
|
@ -288,15 +288,10 @@ Returns the matching [Response] object, or `null` if the response was not receiv
|
||||||
## method: Request.serviceWorker
|
## method: Request.serviceWorker
|
||||||
* since: v1.24
|
* since: v1.24
|
||||||
* langs: js
|
* langs: js
|
||||||
|
* deprecated: This method is deprecated.
|
||||||
- returns: <[null]|[Worker]>
|
- returns: <[null]|[Worker]>
|
||||||
|
|
||||||
The Service [Worker] that is performing the request.
|
This method will always return `null`.
|
||||||
|
|
||||||
**Details**
|
|
||||||
|
|
||||||
This method is Chromium only. It's safe to call when using other browsers, but it will always be `null`.
|
|
||||||
|
|
||||||
Requests originated in a Service Worker do not have a [`method: Request.frame`] available.
|
|
||||||
|
|
||||||
## async method: Request.sizes
|
## async method: Request.sizes
|
||||||
* since: v1.15
|
* since: v1.15
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue