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

Editor for preload script #159

Closed
miniak opened this issue Jan 10, 2019 · 2 comments
Closed

Editor for preload script #159

miniak opened this issue Jan 10, 2019 · 2 comments

Comments

@miniak
Copy link
Contributor

miniak commented Jan 10, 2019

Testing contextIsolation is currently not possible without a preload script, as the main world does not have access to require even if nodeIntegration is enabled.

@MarshallOfSound
Copy link
Member

@miniak You can use renderer.js as a preload script and just not include it in the HTML file (that's what I've done in the past)

@felixrieseberg
Copy link
Member

That's the right solution (for now). I'm closing this until we have a better idea!

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

No branches or pull requests

3 participants