Bad JavaScript in CSIDE seems to be causing NWJS' Renderer process (and thus the app) to crash instantly (rather than throwing an error, or just halting as expected).
For e.g, running the following in the DevTools console:
var https = require('https');
var request = https.get("https://fake.fake.com", function(response) {
console.log(response);
});
Will trigger the crash, as will referencing undefined objects/members in modules.
Note that this reproducer doesn't seem to work on a clean slate index.html. So there may be something odd going on with a dependency or two.
Bad JavaScript in CSIDE seems to be causing NWJS' Renderer process (and thus the app) to crash instantly (rather than throwing an error, or just halting as expected).
For e.g, running the following in the DevTools console:
Will trigger the crash, as will referencing undefined objects/members in modules.
Note that this reproducer doesn't seem to work on a clean slate index.html. So there may be something odd going on with a dependency or two.