Merge pull request #1719 from deepak1556/service_worker_patch
devtools: api to inspect service worker
This commit is contained in:
commit
4a376694b4
9 changed files with 41 additions and 1 deletions
|
@ -524,6 +524,10 @@ Toggle the developer tools.
|
|||
|
||||
Starts inspecting element at position (`x`, `y`).
|
||||
|
||||
### BrowserWindow.inspectServiceWorker()
|
||||
|
||||
Opens the developer tools for the service worker context present in the web contents.
|
||||
|
||||
### BrowserWindow.focusOnWebView()
|
||||
|
||||
### BrowserWindow.blurWebView()
|
||||
|
|
|
@ -238,6 +238,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