electron/lib
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
..
browser fix: prevent Menu.buildFromTemplate with empty array (#23308) 2020-04-30 08:29:02 -07:00
common fix: do not allow child windows to specify their own preload script (#23226) 2020-04-22 12:43:21 -07:00
content_script build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
isolated_renderer refactor: port window.open and window.opener to use ctx bridge instead of hole punching (#23235) 2020-04-27 12:46:04 -07:00
renderer fix: do not add 104 to the history length (#23301) 2020-04-27 15:53:47 -07:00
sandboxed_renderer chore: rename atom things to electron things in our docs / scripts (#23100) 2020-04-13 14:32:29 -07:00
worker build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00