doyensec/electronegativity

Support for nodeintegrationinsubframes

ikkisoft opened this issue · 2 comments

Is your feature request related to a problem? Please describe.
https://electronjs.org/docs/all#nodeintegrationinsubframes is not currently supported (even if it's experimental)

I would add it in the NodeIntegrationJSCheck just like we did with nodeIntegrationInWorker in 7f0ba54:

this.findNode(astHelper, target, 'nodeIntegrationInWorker', value => value !== true, loc);

Btw should we consider splitting the check in case more nodeIntegration flags will be added in the future?

HTML check is still to be added for cases like:
<webview src="http://www.google.com/" nodeintegrationinsubframes></webview>