Skip to content

Commit

Permalink
cherry-pick(#15722): docs: hide experimental service worker api in la…
Browse files Browse the repository at this point in the history
…nguage ports (#15726)

* Revert "docs: expose BrowserContext.serviceWorkers to Java/.NET (#15635)"

This reverts commit 43906d0.

* Revert "docs: expose BrowserContext.serviceWorker to Java/.NET (#15616)"

This reverts commit cfcc35b.

* Make Request.serviceWorker available only in js
* Make sw doc js specific
  • Loading branch information
yury-s committed Jul 15, 2022
1 parent ec9d2db commit 405c55b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/api/class-browsercontext.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ from a particular page, use [`event: Page.response`].

## event: BrowserContext.serviceWorker
* since: v1.11
* langs: js, python
- argument: <[Worker]>

:::note
Expand Down Expand Up @@ -1102,6 +1103,7 @@ A glob pattern, regular expression or predicate to match the request URL. Only r

## method: BrowserContext.serviceWorkers
* since: v1.11
* langs: js, python
- returns: <[Array]<[Worker]>>

:::note
Expand Down
1 change: 1 addition & 0 deletions docs/src/api/class-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ Returns the matching [Response] object, or `null` if the response was not receiv

## method: Request.serviceWorker
* since: v1.24
* langs: js
- returns: <[null]|[Worker]>

:::note
Expand Down

0 comments on commit 405c55b

Please sign in to comment.