chore: bump chromium to bf3f97675b5d9eade34526ebf730c (master) (#27305)

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
Electron Bot 2021-01-25 08:46:00 -08:00 committed by GitHub
parent 1023988ea8
commit ed126eced4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
55 changed files with 245 additions and 230 deletions

View file

@ -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);