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
|
@ -459,7 +459,8 @@ describe('chrome extensions', () => {
|
|||
const showLastPanel = () => {
|
||||
// this is executed in the devtools context, where UI is a global
|
||||
const { UI } = (window as any);
|
||||
const lastPanelId = UI.inspectorView._tabbedPane._tabs.peekLast().id;
|
||||
const tabs = UI.inspectorView._tabbedPane._tabs;
|
||||
const lastPanelId = tabs[tabs.length - 1].id;
|
||||
UI.inspectorView.showPanel(lastPanelId);
|
||||
};
|
||||
devToolsWebContents.executeJavaScript(`(${showLastPanel})()`, false).then(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue