4 ms·
The thing NW.js offers is access to node.js libs through JavaScript. This isn't available through the native webview (for good reason! Very much a security risk
by rtpg 11y ago
The thing NW.js offers is access to node.js libs through JavaScript. This isn't available through the native webview (for good reason! Very much a security risk)
- chrisdevereux 11y agoMost embeddable webviews allow binding additional methods that call into native though. This is how cordova works, in fact. If you're restricting access to local html/js, it shouldnt be any different to nw/electron from a security perspective. Edit: looks like the tint framework linked above actually isolates the webview from the node runtime. Nice.