mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
test: no need to loadURL in menu test (#22737)
This commit is contained in:
@@ -3,7 +3,6 @@ const { app, BrowserWindow } = require('electron')
|
||||
let win
|
||||
app.whenReady().then(function () {
|
||||
win = new BrowserWindow({})
|
||||
win.loadURL('about:blank')
|
||||
win.setMenu(null)
|
||||
|
||||
setTimeout(() => {
|
||||
|
||||
@@ -3,7 +3,6 @@ const { app, BrowserWindow } = require('electron')
|
||||
let win
|
||||
app.whenReady().then(function () {
|
||||
win = new BrowserWindow({})
|
||||
win.loadURL('about:blank')
|
||||
win.setMenuBarVisibility(false)
|
||||
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user