🎨
This commit is contained in:
parent
197ec98800
commit
8b35814d10
2 changed files with 3 additions and 3 deletions
|
@ -1004,7 +1004,7 @@ describe('browser-window module', function () {
|
||||||
var lastPanelId = WebInspector.inspectorView._tabbedPane._tabs.peekLast().id
|
var lastPanelId = WebInspector.inspectorView._tabbedPane._tabs.peekLast().id
|
||||||
WebInspector.inspectorView.showPanel(lastPanelId)
|
WebInspector.inspectorView.showPanel(lastPanelId)
|
||||||
}
|
}
|
||||||
w.devToolsWebContents.executeJavaScript('(' + showLastPanel.toString() + ')()')
|
w.devToolsWebContents.executeJavaScript(`(${showLastPanel})()`)
|
||||||
} else {
|
} else {
|
||||||
clearInterval(showPanelIntevalId)
|
clearInterval(showPanelIntevalId)
|
||||||
}
|
}
|
||||||
|
@ -1080,7 +1080,7 @@ describe('browser-window module', function () {
|
||||||
var lastPanelId = WebInspector.inspectorView._tabbedPane._tabs.peekLast().id
|
var lastPanelId = WebInspector.inspectorView._tabbedPane._tabs.peekLast().id
|
||||||
WebInspector.inspectorView.showPanel(lastPanelId)
|
WebInspector.inspectorView.showPanel(lastPanelId)
|
||||||
}
|
}
|
||||||
w.devToolsWebContents.executeJavaScript('(' + showLastPanel.toString() + ')()')
|
w.devToolsWebContents.executeJavaScript(`(${showLastPanel})()`)
|
||||||
} else {
|
} else {
|
||||||
clearInterval(showPanelIntevalId)
|
clearInterval(showPanelIntevalId)
|
||||||
}
|
}
|
||||||
|
|
|
@ -285,7 +285,7 @@ describe('session module', function () {
|
||||||
const protocolName = 'sp'
|
const protocolName = 'sp'
|
||||||
const partitionProtocol = session.fromPartition(partitionName).protocol
|
const partitionProtocol = session.fromPartition(partitionName).protocol
|
||||||
const protocol = session.defaultSession.protocol
|
const protocol = session.defaultSession.protocol
|
||||||
const handler = function (_, callback) {
|
const handler = function (ignoredError, callback) {
|
||||||
callback({data: 'test', mimeType: 'text/html'})
|
callback({data: 'test', mimeType: 'text/html'})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue