Add devtools API to inspect shared worker. (#16615)
This commit is contained in:
parent
efe52f66e4
commit
392458b252
6 changed files with 31 additions and 0 deletions
|
@ -1381,6 +1381,10 @@ Toggles the developer tools.
|
|||
|
||||
Starts inspecting element at position (`x`, `y`).
|
||||
|
||||
#### `contents.inspectSharedWorker()`
|
||||
|
||||
Opens the developer tools for the shared worker context.
|
||||
|
||||
#### `contents.inspectServiceWorker()`
|
||||
|
||||
Opens the developer tools for the service worker context.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue