Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set app.enableRendererProcessReuse to true by default (#22336) #22401

Merged
merged 1 commit into from
Feb 27, 2020

Conversation

MarshallOfSound
Copy link
Member

Backport of #22336

See that PR for details.

BREAKING CHANGE

Notes: Changed the default value of app.allowRendererProcessReuse to true, this will prevent loading of non-context-aware native modules in renderer processes. See #18397 for more information on this change.

* feat: set app.enableRendererProcessReuse to true by default

* chore: add context aware info to breaking changes doc

* spec: fix nodeIntegration in child windows test for rendererprocessreuse

* spec: fix remote listeners in destroyed renderers spec as the error is now async

* Update api-browser-window-spec.ts

* chore: deprecate affinity

* chore: fix docs

* spec: handle tests crashing without an exist code

* spec: update tests for new rendererprocessreuse default

* spec: with renderer process re-use we get to destroy less views
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Feb 26, 2020
@trop trop bot added 9-x-y backport This is a backport PR labels Feb 26, 2020
@sofianguy
Copy link
Contributor

Approved by Releases WG on 2/26/2020

@MarshallOfSound MarshallOfSound merged commit 7ec9b4e into 9-x-y Feb 27, 2020
@release-clerk
Copy link

release-clerk bot commented Feb 27, 2020

Release Notes Persisted

Changed the default value of app.allowRendererProcessReuse to true, this will prevent loading of non-context-aware native modules in renderer processes. See #18397 for more information on this change.

@MarshallOfSound MarshallOfSound deleted the rpr-true branch February 27, 2020 20:19
brenetic added a commit to ministryofjustice/fb-editor-console-electron that referenced this pull request May 22, 2020
[This PR](electron/electron#22401) now sets the
default value in Electron to be true.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
9-x-y backport This is a backport PR new-pr 🌱 PR opened in the last 24 hours
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants