Electron v45.0.0-alpha.5
Latest Pre ReleaseRelease Notes
Fixes
File System Access permission requests and the
file-system-access-restrictedevent are scoped to the requesting document, grants are reset when the origin's last page closes, and write access works in in-memory sessions. #53690 (Also in 43)Fixed
Trayicons not appearing when running inside Flatpak or Snap sandboxes on Linux. #53654 (Also in 44)Fixed
app.getGPUInfo('complete')stalling the GPU process for several seconds on some Windows systems. #53645 (Also in 44)Fixed
session.setPermissionCheckHandlerreceiving the top-level origin and a nullwebContentsforhidandusbchecks made from a subframe. #53679 (Also in 43, 44)Fixed
webContents.on(),removeListener()andremoveAllListeners()throwing "Object has been destroyed" forconsole-messagelisteners after the WebContents was destroyed. #53495 (Also in 42, 43, 44)Fixed a crash on Linux when
process.envwas written while another thread was reading the environment, and a memory leak when a worker thread exits. #53508 (Also in 42, 43, 44)Fixed a possible crash on Windows when a file dialog was shown for a window that was being closed at the same time. #53586 (Also in 42, 43, 44)
Fixed a renderer crash when the main process sent IPC to, or a page navigated, a same-process
window.open()child whosecontextIsolationdiffered from its opener's. #53538 (Also in 42, 43, 44)Fixed a spurious
node_initerror being logged when creating aShadowRealmwith Node.js integration enabled. #53578 (Also in 44)Fixed crashes in
setDisplayMediaRequestHandlerwhen the granted frame had been destroyed or another tab was granted by id. #53673 (Also in 42, 43, 44)Fixed several non-functional DevTools integrations: the Security panel's "View certificate" button, Ctrl+wheel zooming inside DevTools, and DevTools keyboard shortcuts (e.g. F8) while the inspected page has focus. #53471 (Also in 43, 44)
Fixed window state not being persisted when a window entered or left fullscreen, or was maximized or unmaximized, without also being moved or resized. #53577 (Also in 44)
openExternalpermission requests started by a frame that has since gone away are attributed to that frame's origin rather than to the navigating page. #53696 (Also in 42, 43)pointerLockandkeyboardLockpermission requests now report the requesting frame, andexecCommand('paste')requires user activation in the frame that calls it. #53692 (Also in 44)
Other Changes
Electron's internal JavaScript bundles are no longer listed in
require('module').builtinModulesor loadable throughprocess.getBuiltinModule(). #53624Fixed the app becoming unresponsive when a page has a very large number of
app-regiondraggable elements. #53596 (Also in 43, 44)Improved throughput of responses that
protocol.handlehandlers return straight fromnet.fetch. #53379 (Also in 44)