electron-remote icon indicating copy to clipboard operation
electron-remote copied to clipboard

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

Open Nantris opened this issue 6 years ago • 4 comments

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 avatar Jun 10 '18 22:06 Nantris

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

Nantris avatar Jun 10 '18 23:06 Nantris

filterelectronwarnings

tayiorbeii avatar Aug 02 '18 17:08 tayiorbeii

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 avatar Aug 02 '18 17:08 Nantris

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

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

Nantris avatar Aug 30 '18 22:08 Nantris