electron/lib/browser
shelley vohr f50f725a9c
fix: prevent Menu.buildFromTemplate with empty array (#23308)
Prevent issues with menu creation and subsequent pane focus from menu bar by preventing menus from being created from an empty array. I can't conceive a valid use case for this, since if one wants to remove a menu they should be be passing null to win.setMenu() or calling win.removeMenu(). This issue is also specific to top-level menus, and not submenus, so the new check and exception is scoped to top-level menus.
2020-04-30 08:29:02 -07:00
..
api fix: prevent Menu.buildFromTemplate with empty array (#23308) 2020-04-30 08:29:02 -07:00
remote chore: rename atom things to electron things in our docs / scripts (#23100) 2020-04-13 14:32:29 -07:00
chrome-extension-shim.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
chrome-extension.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
crash-reporter-init.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
default-menu.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
desktop-capturer.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
devtools.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
guest-view-manager.js refactor: improve feature string parsing (#23130) 2020-04-21 16:23:00 -04:00
guest-window-manager.js fix: do not double-declare webPreferences (#23223) 2020-04-22 11:06:30 -07:00
init.ts fix: set default menu in will-finish-launching event (#23214) 2020-04-23 10:51:31 -07:00
ipc-main-impl.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
ipc-main-internal-utils.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
ipc-main-internal.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
message-port-main.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
navigation-controller.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
rpc-server.js chore: bump chromium to 98ebf6c3f0b7bd96bdb1a4b42208f (master) (#22999) 2020-04-13 16:39:26 -07:00
utils.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00