Electron v45.0.0-alpha.6
Latest Pre ReleaseRelease Notes
Features
Added
initiatorOriginto webRequest and protocol handler requests,DownloadItem.getInitiatorOrigin(), and a trailingframeargument to thewill-downloadandpreconnectsession events. #53700 (Also in 43, 44)Added the
ELECTRON_DEBUG_DRAGGABLE_REGIONSenvironment variable, which visualizes and logs draggable regions in unpackaged apps to help debug custom title bars. #53626 (Also in 43, 44)
Fixes
Added validation to
protocol.registerSchemesAsPrivileged()to reject protocol names that do not conform to RFC 3986 URI scheme grammar. #53742 (Also in 44)Fixed Ctrl+Y not yanking text killed with Ctrl+K in text fields on macOS. #53715 (Also in 44)
Fixed Window Controls Overlay CSS environment variables and
navigator.windowControlsOverlaynot being populated forWebContentsViews in aBaseWindow. #53811 (Also in 44)Fixed
<select>dropdowns not rendering in offscreen windows on macOS. #53716Fixed
webContents.capturePage()on offscreen windows returning an image resampled to the display's scale factor instead of rendered at the window'soffscreen.deviceScaleFactor. #53817 (Also in 43, 44)Fixed
webContentsemittingunresponsiveright after the system wakes from sleep on Windows, and emittingresponsivewhen a hung window was hidden rather than when it recovered. #53760 (Also in 44)Fixed a crash when a webContents navigated to the Chrome Web Store and the page invoked the unsupported
chrome.webstorePrivateAPI. #53775Fixed a possible hang when pressing Esc while a
<webview>is fullscreen. #53744Fixed an issue where the browser-side check that blocks drag and drop between cross-site frames of the same page was disabled. #53748 (Also in 43, 44)
Fixed several object lifetime issues in
Debugger,Menu,Tray,Notification,globalShortcut,utilityProcess,ServiceWorkerMain,WebFrameMain,webFrame,sharedTexture,systemPreferences,netLog,MessagePortMain,net.requestandshell.openPath(). #53805Internal
<webview>,window.close()andexecuteJavaScriptreply IPCs are validated against the sending frame. #53724 (Also in 42, 43, 44)<webview>withoutallowpopupsalso blocks links opened into a new window by modifier-click, and such windows navigate as the clicking document rather than as a browser-initiated load. #53717 (Also in 42, 43, 44)getUserMediawithchromeMediaSource: 'desktop'no longer accepts WebContents source ids; usechromeMediaSource: 'tab'withwebContents.getMediaSourceId()orsetDisplayMediaRequestHandlerto capture a WebContents. #53708 (Also in 42, 43, 44)nodeIntegrationInWorkernow applies only to workers created by frames that themselves have Node integration; enablenodeIntegrationInSubFramesto keep Node in workers created by subframes. #53706 (Also in 42, 43, 44)