Electron v42.10.0
Release Notes
Features
Fixed contentTracing module to capture Node.js trace categories. #52973
Fixes
Fixed DevTools device metrics overrides persisting indefinitely when a remote debugging client disconnected without clearing them. #53133 (Also in 43, 44)
Fixed DevTools popup and context menus not appearing when DevTools is hosted in a custom window via
webContents.setDevToolsWebContents(). #52981 (Also in 43, 44)Fixed
BrowserWindow.unmaximize()andrestore()having no effect on Wayland when the window was maximized immediately after creation. #53126 (Also in 44)Fixed
Uncaught illegal accesserrors and possible renderer crashes after closing a same-process child window or removing an iframe withnodeIntegrationInSubFramesenabled. #53042 (Also in 44)Fixed
dialog.showOpenDialog/dialog.showSaveDialogopening at an unusable location on Linux whendefaultPathis a bare filename without a directory. #52980 (Also in 43, 44)Fixed a crash on Linux when the D-Bus session bus disconnected while the app was running, such as at logout or when dbus is restarted. #53094 (Also in 43, 44)
Fixed a crash on Windows when V8 posted a delayed worker task during shutdown. #53014 (Also in 43)
Fixed a crash with
app.setLoginItemSettingsif a non-UTF8 service name is used. #52989 (Also in 43, 44)Fixed a possible crash (SIGABRT) during process exit when the process had loaded
tls/httpsshortly before exiting, affectingapp.exit()beforereadyand short-livedELECTRON_RUN_AS_NODE/child_process.fork()scripts. #52992 (Also in 43, 44)Fixed a possible main process crash at quit when a session was created from JavaScript that runs during shutdown. #53132 (Also in 43, 44)
Fixed a rare crash in the main process when DevTools were opened and a garbage collection ran before the DevTools frontend finished loading. #52994 (Also in 43, 44)
Fixed a renderer crash when a page calls
SpeechRecognition.available()orSpeechRecognition.install()withprocessLocally. #53016 (Also in 43, 44)Fixed an issue on Linux where the system theme color appeared at the top edge of frameless windows. #52978 (Also in 41, 43)
Fixed an issue where some values passed into
requestSingleInstanceLockcould result in a crash. #52982 (Also in 43, 44)Fixed crash in sharedTexture module when GPU context becomes unavailable. #52983 (Also in 43, 44)
Fixed document title updates when using back/forward navigation using the same document without utilizing
browserWindow.setTitle(). #53099 (Also in 43, 44)Fixed the built-in PDF viewer not rendering documents in in-memory sessions (partitions without the
persist:prefix). #52990 (Also in 43, 44)Fixed titleBarOverlay.color set to
rgba(0,0,0,0)failing back to default frame color. #52976 (Also in 41, 43)Fixed utility process crashes at exit on Windows 11 24H2 and later. #53091 (Also in 43, 44)
Other Changes
Backported fixes from upstream Chromium and V8. #53060
Fixed a 1-in-200 chance per renderer process on Windows of scripts on the first page load being compiled without their V8 code cache. #52988 (Also in 43, 44)
Fixed a Windows x64 renderer performance regression introduced in 42.8.1 that made style/layout work (and app startup) noticeably slower. #53064
Fixed a stall of tens of milliseconds while creating the first
BrowserWindowon Linux.Improved the performance of file lookups inside ASAR archives and of large files served from them to the renderer.
Improved the performance of calls through
contextBridge-exposed APIs.Reduced the main-thread cost of sending large values through
ipcRenderer,ipcMainhandlers andwebContents.send. #53019 (Also in 43, 44)
Improved startup time of
utilityProcess.fork(),child_process.fork()/ELECTRON_RUN_AS_NODEchild processes and Node.js-enabled renderers. #53136 (Also in 43, 44)Linux arm64, Windows arm64 and macOS x64 builds now start the main process from the embedded Node.js startup snapshot like the other platforms, improving startup time. #52880 (Also in 43, 44)