v41.0.0
📦 electronView on GitHub →
✨ 1 features🐛 8 fixes🔧 4 symbols
Summary
This release introduces the new webContents.getOrCreateDevToolsTargetId() method and includes numerous bug fixes related to protocol validation, DevTools menus, instance locking, worker integration, Wayland screen point retrieval, header validation, and permission handling.
✨ New Features
- Added webContents.getOrCreateDevToolsTargetId().
🐛 Bug Fixes
- Added validation to protocol client methods to reject protocol names that do not conform to the RFC 3986 URI scheme grammar.
- Fixed an issue where Chrome Devtools menus may not appear in certain embedded windows.
- Fixed an issue where additionalData passed to app.requestSingleInstanceLock on Windows could be truncated or fail to deserialize in the primary instance's second-instance event.
- Fixed an issue where nodeIntegrationInWorker overrides in setWindowOpenHandler were not honored for child windows sharing a renderer process with their opener.
- Fixed an issue where screen.getCursorScreenPoint() crashed on Wayland when it was called before a BrowserWindow had been created.
- Fixed an issue where invalid characters in custom protocol or webRequest response header values were not rejected.
- Fixed an issue where permission and device-chooser handlers received the top-level page origin instead of the requesting subframe's origin.
- Reverted AltGr key fix that caused menu bar to no longer show on Windows.