Release Notes for v4.2.6
Fixes
- Fixed issues with popups created from sandboxed
<webview>
:- Clicking link with
target="_blank"
not emitting'new-window'
event. window.open()
not returningnull
whenallowpopups
is not set. #18797
- Clicking link with
- Fixed
app.getAppPath()
returning default-app path when runningelectron app
with no package.json orelectron app/index.js
. Now the directory containing the executed file is returned. #18895 - Fixed an issue where the Tray icon context menu on macOS blocked the main process while open. #19035
- Fixed crash when creating certain types of windows in the
display-*
events. #19024 - Fixed issue where
require('timers').setTimeout
would sometimes never fire in the renderer process. #18968 systemPreferences.isDarkMode()
now correctly detects dark mode on macOS Catalina. #18959
Other Changes
- Fixed an issue where
session.getCacheSize
would never call its callback. #18921