Change8

v42.9.2

📦 electronView on GitHub →
🐛 5 fixes🔧 9 symbols

Summary

This release includes several bug fixes, including issues with cross-origin fetches, WebContentsView rendering, ASAR archive handling, and sandbox restrictions for opened windows. It also standardizes `nodeIntegrationInWorker` inheritance for `<webview>` and `window.open`.

Migration Steps

  1. `<webview>` and `window.open` now inherit `nodeIntegrationInWorker` from the embedder, consistent with the other Node and sandbox preferences.

🐛 Bug Fixes

  • Fixed `registerFileProtocol` and `registerHttpProtocol` returning readable responses to cross-origin `no-cors` fetches; they now return opaque responses like `protocol.handle`.
  • Fixed a `WebContentsView` staying blank after its window is shown when `setBackgroundThrottling(false)` was called while the window was hidden.
  • Fixed a crash when resolving a path inside a malformed ASAR archive that contains cyclic link entries.
  • Fixed downloading files that live inside an asar archive, including saving a packed PDF from the built-in PDF viewer.
  • Fixed windows opened by a sandboxed top-level frame not inheriting the opener's sandbox restrictions.

Affected Symbols