Hacker News new | ask | show | jobs
by rtpg 3850 days 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)
1 comments

Most 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.