Electron v43.5.0
Release Notes
Fixes
Fixed DevTools device metrics overrides persisting indefinitely when a remote debugging client disconnected without clearing them. #52946 (Also in 42, 44)
Fixed
BrowserWindow.unmaximize()andrestore()having no effect on Wayland when the window was maximized immediately after creation. #53125 (Also in 42, 44)Fixed
Uncaught illegal accesserrors and possible renderer crashes after closing a same-process child window or removing an iframe withnodeIntegrationInSubFramesenabled. #53041 (Also in 42, 44)Fixed
fs.constants.O_DIRECTORY,O_NOFOLLOWandO_DIRECTholding x86 values on Linux arm64 and armv7l, which made opening a directory fail withEINVAL, and maderequire('trace_events')behave the same on cross-compiled builds as on native ones. #53319 (Also in 42, 44, 45)Fixed
webContents.executeJavaScriptInIsolatedWorldresolving withundefinedwhenworldIdwas not an integer. #53237 (Also in 44)Fixed
webContents.print()honoringprintBackground,duplexMode, and printer default duplex settings. #53160 (Also in 42, 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. #53095 (Also in 42, 44)
Fixed a crash on Windows when V8 posted a delayed worker task during shutdown. #53013 (Also in 42, 44)
Fixed a crash on macOS when a WebAuthn Touch ID prompt was requested while no locale resources were loaded. #53195 (Also in 44)
Fixed a crash on macOS when a notification's icon could not be attached; the notification is now shown without the icon. #53147 (Also in 42, 44)
Fixed a crash when calling
node:wasifunctions in optimized code. #53265 (Also in 42, 44, 45)Fixed a crash when calling
utilityProcess.postMessage()after the utility process had exited. #53301 (Also in 44, 45)Fixed a regression where a window created with a custom title can show an empty title after using back/forward navigation. #53219 (Also in 42, 44)
Fixed a renderer crash when a page calls
SpeechRecognition.available()orSpeechRecognition.install()withprocessLocally. #53015 (Also in 42, 44)Fixed an issue where pages loaded in a detached
WebContentsViewwouldn't see the correct window size. #53152 (Also in 42, 44)Fixed crashes in sharedTexture, service-worker ipcRenderer and utilityProcess.fork() caused by object lifetime bugs. #53278 (Also in 44, 45)
Fixed crashes in the main process when a
webRequest.onBeforeRequestlistener redirected a CORS preflight request, and when callingnet.fetch()with awebRequest-permission extension loaded. #53304 (Also in 44, 45)Fixed crashes when a webContents or parent window is destroyed while other APIs still reference it. #53288 (Also in 44, 45)
Fixed crashes when certain app event handlers call back into Electron synchronously. #53276 (Also in 44, 45)
Fixed document title updates when using back/forward navigation using the same document without utilizing
browserWindow.setTitle(). #53023 (Also in 42, 44)Fixed region-qualified
--langvalues such asde-DEloading no locale resources on macOS, which left localized strings empty and could crash WebAuthn Touch ID prompts. #53186 (Also in 42, 44)Fixed spellcheck not initializing on Linux when the dictionary was already cached from a previous run. #52717 (Also in 44)
Fixed the GPU process being terminated in AppX/MSIX packaged apps on Windows when WebGPU fell back to SwiftShader. #53197 (Also in 42, 44)
Fixed the primary instance being killed or receiving truncated arguments when a second instance passed a very long command line or large
additionalDatatoapp.requestSingleInstanceLock(). #53156 (Also in 42, 44)Fixed the tray icon not appearing on GNOME (and disappearing entirely on Wayland) since 43.4.1. #53215
Fixed utility process crashes at exit on Windows 11 24H2 and later. #53092 (Also in 42, 44)
Fixed windows native message boxes being dismissed by other applications using invalid button ID. #53155 (Also in 44)
Other Changes
Backported fixes from upstream ANGLE, Chromium, Dawn, Skia and V8. #52969
Backported fixes from upstream ANGLE, Chromium, Dawn, V8 and WebRTC. #53190
Backported fixes from upstream Chromium and V8. #53055
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. #52943 (Also in 42, 44)
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. #53018 (Also in 42, 44)
Improved application startup time on Linux by skipping GDK's OpenGL probe and loading FontConfig off the main thread during toolkit initialization. #53108 (Also in 44)
Improved startup time of
utilityProcess.fork(),child_process.fork()/ELECTRON_RUN_AS_NODEchild processes and Node.js-enabled renderers. #53135 (Also in 42, 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. #52881 (Also in 42, 44)
Page resources,
fetch()calls and file:// loads in renderers no longer wait for the main process to be idle when nowebRequestlisteners or protocol interceptors are registered. #53142 (Also in 42, 44)Updated Chromium to 150.0.7871.250. #52787
Updated Node.js to v24.19.0. #52635