Skip to content

Conversation

@trop
Copy link
Contributor

@trop trop bot commented Mar 1, 2021

Backport of #26890

See that PR for details.

Notes: Changed the default value of contextIsolation to true.

@trop trop bot requested a review from MarshallOfSound March 1, 2021 21:53
@electron-cation electron-cation bot added the new-pr 🌱 PR opened recently label Mar 1, 2021
@trop trop bot added 12-x-y backport This is a backport PR backport/requested 🗳 semver/major incompatible API changes labels Mar 1, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Mar 1, 2021
@jkleinsc
Copy link
Member

jkleinsc commented Mar 2, 2021

Merging as CI failures are known flakes unrelated to this PR.

@jkleinsc jkleinsc merged commit 8828382 into 12-x-y Mar 2, 2021
@release-clerk
Copy link

release-clerk bot commented Mar 2, 2021

Release Notes Persisted

Changed the default value of contextIsolation to true.

@trop trop bot deleted the trop/12-x-y-bp-feat-enable-context-isolation-by-default-1614635579522 branch March 2, 2021 00:35
undergroundwires added a commit to undergroundwires/privacy.sexy that referenced this pull request Mar 11, 2021
- fix npm vulnerabilities #62
- change ResizeObserver polyfill dependency que-etc/resize-observer-polyfill#80
- bump typescript to 4.2.x and add tslib for importing helpers
- update electron to v12.x and set contextIsolation to false (nklayman/vue-cli-plugin-electron-builder#1285, electron/electron#11608) to reach node APIs as it's now disabled by default (electron/electron#27949)
sanosdole added a commit to sanosdole/nodeclrhost that referenced this pull request Mar 30, 2021
Implement support for Electron 12.

Major changes:
- [node #30782](nodejs/node#30782) New ArrayBuffer backing store prevents reusing the same data pointer
- [electron #27949](electron/electron#27949) Context isolation is turned on by default and prevents `coreclr-hosting` from working properly
- [electron #18397](electron/electron#18397) & [electron #454](maximegris/angular-electron#454) lead to `app.allowRendererProcessReuse` being fixed to true on Electron 12. This required making `coreclr-hosting` context aware and implement proper re-use of the hosted CLR.

Known Issues:
- After reloading a renderer app the task scheduler sometimes hangs up, as the the `ThreadSafeFunction` does not get invoked.

Code cleanup and small memory management improvements.
panzy added a commit to panzy/electron-process-manager that referenced this pull request Jul 19, 2021
LarrMarburger pushed a commit to LarrMarburger/privacy.sexy that referenced this pull request Nov 16, 2023
- fix npm vulnerabilities #62
- change ResizeObserver polyfill dependency que-etc/resize-observer-polyfill#80
- bump typescript to 4.2.x and add tslib for importing helpers
- update electron to v12.x and set contextIsolation to false (nklayman/vue-cli-plugin-electron-builder#1285, electron/electron#11608) to reach node APIs as it's now disabled by default (electron/electron#27949)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

12-x-y backport/requested 🗳 backport This is a backport PR semver/major incompatible API changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants