Add devtools API to inspect shared worker. (#16615)

This commit is contained in:
michtsu 2019-02-01 10:44:24 -08:00 committed by Shelley Vohr
parent efe52f66e4
commit 392458b252
6 changed files with 31 additions and 0 deletions

View file

@ -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.