Add spec for app.enableMixedSandbox()

This commit is contained in:
Kevin Sawicki 2017-06-28 08:33:06 -07:00
parent 1258240067
commit 7fcc00f137
4 changed files with 58 additions and 38 deletions

View file

@ -5,6 +5,10 @@ process.on('uncaughtException', () => {
app.exit(1)
})
if (!process.argv.includes('--enable-mixed-sandbox')) {
app.enableMixedSandbox()
}
let sandboxWindow
let noSandboxWindow