🎨
This commit is contained in:
parent
9a3b78d9fe
commit
80bd6a3e91
3 changed files with 4 additions and 4 deletions
|
@ -154,7 +154,7 @@ content::ContentBrowserClient* AtomMainDelegate::CreateContentBrowserClient() {
|
|||
content::ContentRendererClient*
|
||||
AtomMainDelegate::CreateContentRendererClient() {
|
||||
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
||||
switches::kEnableSandbox) ||
|
||||
switches::kEnableSandbox) ||
|
||||
!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
||||
::switches::kNoSandbox)) {
|
||||
renderer_client_.reset(new AtomSandboxedRendererClient);
|
||||
|
|
|
@ -567,7 +567,7 @@ describe('app module', function () {
|
|||
})
|
||||
})
|
||||
|
||||
describe.only('mixed sandbox option', function () {
|
||||
describe('mixed sandbox option', function () {
|
||||
// FIXME Get these specs running on Linux
|
||||
if (process.platform === 'linux') return
|
||||
|
||||
|
|
4
spec/fixtures/api/mixed-sandbox-app/main.js
vendored
4
spec/fixtures/api/mixed-sandbox-app/main.js
vendored
|
@ -42,8 +42,8 @@ app.once('ready', () => {
|
|||
let connected = false
|
||||
|
||||
function finish () {
|
||||
if (connected && argv.sandbox != null && argv.noSandbox != null
|
||||
&& argv.noSandboxDevtools != null && argv.sandboxDevtools != null) {
|
||||
if (connected && argv.sandbox != null && argv.noSandbox != null &&
|
||||
argv.noSandboxDevtools != null && argv.sandboxDevtools != null) {
|
||||
client.once('end', () => {
|
||||
app.exit(0)
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue