chore: bump chromium to bf3f97675b5d9eade34526ebf730c (master) (#27305)
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
1023988ea8
commit
ed126eced4
55 changed files with 245 additions and 230 deletions
|
@ -206,8 +206,10 @@ describe('<webview> tag', function () {
|
|||
const showPanelIntervalId = setInterval(function () {
|
||||
if (!webContents.isDestroyed() && webContents.devToolsWebContents) {
|
||||
webContents.devToolsWebContents.executeJavaScript('(' + function () {
|
||||
const lastPanelId: any = (window as any).UI.inspectorView._tabbedPane._tabs.peekLast().id;
|
||||
(window as any).UI.inspectorView.showPanel(lastPanelId);
|
||||
const { UI } = (window as any);
|
||||
const tabs = UI.inspectorView._tabbedPane._tabs;
|
||||
const lastPanelId: any = tabs[tabs.length - 1].id;
|
||||
UI.inspectorView.showPanel(lastPanelId);
|
||||
}.toString() + ')()');
|
||||
} else {
|
||||
clearInterval(showPanelIntervalId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue