var lastPanelId = WebInspector.inspectorView._tabbedPane._tabs.peekLast().id
WebInspector.inspectorView.showPanel(lastPanelId)
}
- w.devToolsWebContents.executeJavaScript('(' + showLastPanel.toString() + ')()')
+ w.devToolsWebContents.executeJavaScript(`(${showLastPanel})()`)
} else {
clearInterval(showPanelIntevalId)
}
var lastPanelId = WebInspector.inspectorView._tabbedPane._tabs.peekLast().id
WebInspector.inspectorView.showPanel(lastPanelId)
}
- w.devToolsWebContents.executeJavaScript('(' + showLastPanel.toString() + ')()')
+ w.devToolsWebContents.executeJavaScript(`(${showLastPanel})()`)
} else {
clearInterval(showPanelIntevalId)
}
const protocolName = 'sp'
const partitionProtocol = session.fromPartition(partitionName).protocol
const protocol = session.defaultSession.protocol
- const handler = function (_, callback) {
+ const handler = function (ignoredError, callback) {
callback({data: 'test', mimeType: 'text/html'})
}