You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when looking at the debugger in the electron app, we get the following warning:
(electron) Security Warning: webFrame.executeJavaScript was called without worldSafeExecuteJavaScript enabled. This is considered unsafe. worldSafeExecuteJavaScript will be enabled by default in Electron 12.
It seems that the way to fix this is to set worldSafeExecuteJavaScript to true and contextIsolation to true. Electron .NET has a WebPreferences class that currently allows ContextIsolation to be set to true, but there is no way to set worldSafeExecuteJavascript as far as I can tell.
The text was updated successfully, but these errors were encountered:
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!
Currently when looking at the debugger in the electron app, we get the following warning:
It seems that the way to fix this is to set worldSafeExecuteJavaScript to true and contextIsolation to true. Electron .NET has a WebPreferences class that currently allows ContextIsolation to be set to true, but there is no way to set worldSafeExecuteJavascript as far as I can tell.
The text was updated successfully, but these errors were encountered: