Skip to content

fix: child window with nativeWindowOpen should disable node integration - #15213

Merged
zcbenz merged 2 commits into
masterfrom
no-node-integration-in-child-window
Oct 25, 2018
Merged

zcbenz merged 2 commits into
masterfrom
no-node-integration-in-child-window

Conversation

@zcbenz

@zcbenz zcbenz commented Oct 17, 2018

Copy link
Copy Markdown
Contributor

Description of Change

Don't allow child windows opened with nativeWindowOpen to have node integration, otherwise memory leak will happen. This change should NOT be backported since it is a breaking change.

This is the last PR to close #12634.

Checklist

  • PR description included and stakeholders cc'd
  • npm test passes
  • tests are changed or added
  • relevant documentation is changed or added
  • PR title follows semantic commit guidelines

Release Notes

Notes: Don't allow child windows opened with nativeWindowOpen to have node integration.

@zcbenz
zcbenz requested review from a team October 17, 2018 08:28
@MarshallOfSound MarshallOfSound added the semver/major incompatible API changes label Oct 17, 2018
…abled (#15076)"

This reverts commit 0252d76.

This patch is not needed anymore since we are force disabling node integration
for child windows.
@zcbenz
zcbenz force-pushed the no-node-integration-in-child-window branch from a6562cf to d34f6fb Compare October 25, 2018 00:15
@zcbenz
zcbenz merged commit 2f3a8ec into master Oct 25, 2018
@release-clerk

release-clerk Bot commented Oct 25, 2018

Copy link
Copy Markdown

Release Notes Persisted

Don't allow child windows opened with nativeWindowOpen to have node integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/major incompatible API changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

window.open with nativeWindowOpen option causes memory leak

3 participants