Skip to content

Navigation Menu

Sign in
Sign up
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Explicitly set contextIsolation to false - #2789

Open
bongnv wants to merge 2 commits into
atom:master from
bongnv:electron-12
Open

Explicitly set contextIsolation to false #2789
bongnv wants to merge 2 commits into
atom:master from
bongnv:electron-12

Conversation

@bongnv

@bongnv bongnv commented Oct 7, 2022

Copy link
Copy Markdown

Please be sure to read the contributor's guide to the GitHub package before submitting any pull requests.

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.

Description of the Change

Since Electron 12, the default of contextIsolation is changed to true from false so we'll have to set it to false. Otherwise, Node APIs won't be used in renderer processes.

See electron/electron#23506 for more information.

Screenshot or Gif

N/A

Applicable Issues

N/A

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /