devtools: api to inspect service worker for current webcontents
This commit is contained in:
parent
827741a9c6
commit
46d80e8f05
4 changed files with 18 additions and 0 deletions
|
@ -226,6 +226,10 @@ Returns whether guest page has a devtools window attached.
|
|||
|
||||
Starts inspecting element at position (`x`, `y`) of guest page.
|
||||
|
||||
### `<webview>`.inspectServiceWorker()
|
||||
|
||||
Opens the devtools for the service worker context present in the guest page.
|
||||
|
||||
### `<webview>`.undo()
|
||||
|
||||
Executes editing command `undo` in page.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue