Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Electron Remote creates endless devTool windows with a CSP warning in development mode #40

Open
Nantris opened this issue Jun 10, 2018 · 4 comments

Comments

@Nantris
Copy link

Nantris commented Jun 10, 2018

I need to use 'unsafe-eval' in my main renderer window in development, but doing so, electron-remote creates devTool windows to warn:

image

Is there any way to prevent this?

@Nantris
Copy link
Author

Nantris commented Jun 10, 2018

Managed to disable the CSP warnings, but the devTool windows persist.

@tayiorbeii
Copy link

filterelectronwarnings

@Nantris
Copy link
Author

Nantris commented Aug 2, 2018

Thanks for your reply @tayiorbeii. The issue is that it creates new devtools windows for every message when it's coming from a callstack involving electron-remote. As a result disabling warnings, and disabling the CSP warnings, fails to have an effect. The new windows persist.

This issue has become more manageable over time, but it still happens from time to time and I'm not sure why.

@Nantris
Copy link
Author

Nantris commented Aug 30, 2018

This remains an issue. Is there any fix for this?

Video: http://recordit.co/1sFsWdwoOo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants