WebInspector has been split up
This commit is contained in:
parent
0a7c51b9aa
commit
c72438f09f
5 changed files with 11 additions and 8 deletions
4
spec/fixtures/pages/webview-devtools.html
vendored
4
spec/fixtures/pages/webview-devtools.html
vendored
|
@ -13,8 +13,8 @@
|
|||
var showPanelIntevalId = setInterval(function () {
|
||||
if (webContents.devToolsWebContents) {
|
||||
webContents.devToolsWebContents.executeJavaScript('(' + (function () {
|
||||
var lastPanelId = WebInspector.inspectorView._tabbedPane._tabs.peekLast().id
|
||||
WebInspector.inspectorView.showPanel(lastPanelId)
|
||||
var lastPanelId = UI.inspectorView._tabbedPane._tabs.peekLast().id
|
||||
UI.inspectorView.showPanel(lastPanelId)
|
||||
}).toString() + ')()')
|
||||
} else {
|
||||
clearInterval(showPanelIntevalId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue