WebInspector has been split up

This commit is contained in:
Cheng Zhao 2017-01-25 08:44:01 +09:00 committed by Kevin Sawicki
parent 0a7c51b9aa
commit c72438f09f
5 changed files with 11 additions and 8 deletions

View file

@ -1689,8 +1689,8 @@ describe('BrowserWindow module', function () {
}
const showLastPanel = function () {
const lastPanelId = WebInspector.inspectorView._tabbedPane._tabs.peekLast().id
WebInspector.inspectorView.showPanel(lastPanelId)
const lastPanelId = UI.inspectorView._tabbedPane._tabs.peekLast().id
UI.inspectorView.showPanel(lastPanelId)
}
devToolsWebContents.executeJavaScript(`(${showLastPanel})()`, false, () => {
showPanelTimeoutId = setTimeout(show, 100)