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

@ -171,6 +171,9 @@ Object.assign(BrowserWindow.prototype, {
inspectElement (...args) {
return this.webContents.inspectElement(...args)
},
inspectSharedWorker () {
return this.webContents.inspectSharedWorker()
},
inspectServiceWorker () {
return this.webContents.inspectServiceWorker()
},