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

Disable contextIsolation option #64

Merged
merged 1 commit into from
Mar 9, 2021
Merged

Disable contextIsolation option #64

merged 1 commit into from
Mar 9, 2021

Conversation

kondoumh
Copy link
Contributor

@kondoumh kondoumh commented Mar 6, 2021

About window is no longer rendered in Electron v12. The cause seems to be that contextIsolation in webPreferences is set to true by default. Rendered when contextIsolation was set to false.

@rhysd
Copy link
Owner

rhysd commented Mar 9, 2021

Thanks for catching this. Yeah, context isolation is enabled by default now. And this library depends on that context isolation is disabled because it directly receives IPC messages.
To enable context isolation, we need to use preload script. Meanwhile, simply disabling it makes sense to me.

@rhysd rhysd merged commit d045b93 into rhysd:master Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants