electron/lib/browser/api
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
..
auto-updater build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
exports build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
views chore: there is no need to define _init (#22882) 2020-03-31 14:50:03 -07:00
app.ts refactor: ginify DownloadItem (#22924) 2020-04-02 17:22:46 -07:00
auto-updater.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
browser-view.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
browser-window.js chore: make WebContentsView take webPreferences as parameter (#22997) 2020-04-09 16:01:16 +09:00
content-tracing.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
crash-reporter.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
dialog.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
global-shortcut.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
in-app-purchase.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
ipc-main.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
menu-item-roles.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
menu-item.js fix: prevent Menu.buildFromTemplate with empty array (#23308) 2020-04-30 08:29:02 -07:00
menu-utils.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
menu.js fix: prevent Menu.buildFromTemplate with empty array (#23308) 2020-04-30 08:29:02 -07:00
message-channel.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
module-keys.js chore: remove unused classes of views API (#22861) 2020-03-28 15:44:57 +09:00
module-list.ts chore: remove unused classes of views API (#22861) 2020-03-28 15:44:57 +09:00
native-theme.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
net-log.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
net.js feat: enhance native window.open to match the custom implementation's behavior (#19703) 2020-03-26 11:05:45 -07:00
notification.js refactor: ginify Notification (#22821) 2020-03-31 11:42:32 -07:00
power-monitor.ts refactor: ginify powerMonitor (#22751) 2020-03-24 09:03:29 -07:00
power-save-blocker.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
protocol.ts refactor: ginify protocol (#22812) 2020-03-26 10:34:32 -07:00
screen.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
session.js refactor: ginify protocol (#22812) 2020-03-26 10:34:32 -07:00
system-preferences.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
top-level-window.js feat: support fullScreen BrowserWindow property (#23145) 2020-04-20 20:25:18 -07:00
touch-bar.js build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
tray.js refactor: ginify Tray (#22822) 2020-03-30 10:32:02 +09:00
view.js chore: there is no need to define _init (#22882) 2020-03-31 14:50:03 -07:00
web-contents-view.js chore: there is no need to define _init (#22882) 2020-03-31 14:50:03 -07:00
web-contents.js refactor: port window.open and window.opener to use ctx bridge instead of hole punching (#23235) 2020-04-27 12:46:04 -07:00