test: no need to loadURL in menu test (#22737)
This commit is contained in:
parent
b2dc0a4f11
commit
47e27aee5b
2 changed files with 0 additions and 2 deletions
|
@ -3,7 +3,6 @@ const { app, BrowserWindow } = require('electron')
|
||||||
let win
|
let win
|
||||||
app.whenReady().then(function () {
|
app.whenReady().then(function () {
|
||||||
win = new BrowserWindow({})
|
win = new BrowserWindow({})
|
||||||
win.loadURL('about:blank')
|
|
||||||
win.setMenu(null)
|
win.setMenu(null)
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
|
@ -3,7 +3,6 @@ const { app, BrowserWindow } = require('electron')
|
||||||
let win
|
let win
|
||||||
app.whenReady().then(function () {
|
app.whenReady().then(function () {
|
||||||
win = new BrowserWindow({})
|
win = new BrowserWindow({})
|
||||||
win.loadURL('about:blank')
|
|
||||||
win.setMenuBarVisibility(false)
|
win.setMenuBarVisibility(false)
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue