Add spec for app.enableMixedSandbox()
This commit is contained in:
parent
1258240067
commit
7fcc00f137
4 changed files with 58 additions and 38 deletions
4
spec/fixtures/api/mixed-sandbox-app/main.js
vendored
4
spec/fixtures/api/mixed-sandbox-app/main.js
vendored
|
@ -5,6 +5,10 @@ process.on('uncaughtException', () => {
|
|||
app.exit(1)
|
||||
})
|
||||
|
||||
if (!process.argv.includes('--enable-mixed-sandbox')) {
|
||||
app.enableMixedSandbox()
|
||||
}
|
||||
|
||||
let sandboxWindow
|
||||
let noSandboxWindow
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue