- Output of
node_modules/.bin/electron --version: 2.0.8
- Operating System (Platform and Version): Windows 10 x64
Expected Behavior
executeJavaScriptInIsolatedWorld should be well documented
Actual behavior
executeJavaScriptInIsolatedWorld is barely documented
To Reproduce
Read the webFrame documentation.
Additional Information
If I enable contextIsolation in my app, how do I execute javascript into the correct context for a specific webview?
I understand that the JS needs to be akin to [{code: 'blahblahblah' }], but world_id doesn't seem to be the id from webContents, so what is it? Where do I obtain the correct id?
node_modules/.bin/electron --version: 2.0.8Expected Behavior
executeJavaScriptInIsolatedWorld should be well documented
Actual behavior
executeJavaScriptInIsolatedWorld is barely documented
To Reproduce
Read the webFrame documentation.
Additional Information
If I enable contextIsolation in my app, how do I execute javascript into the correct context for a specific webview?
I understand that the JS needs to be akin to
[{code: 'blahblahblah' }], but world_id doesn't seem to be the id from webContents, so what is it? Where do I obtain the correct id?