Expose `--enable-sandbox` command-line switch.
authorThiago de Arruda <tpadilha84@gmail.com>
Mon, 15 Aug 2016 11:01:24 +0000 (08:01 -0300)
committerThiago de Arruda <tpadilha84@gmail.com>
Tue, 27 Sep 2016 09:01:46 +0000 (06:01 -0300)
commit1d228446db97f25c3754f38a1855a3c2b9af698d
tree129ea415be24a51c49209ad47ca4ed44bdab68c0
parentc783ec72bcf84e0450ef8eb32c5f6d1b4eb53847
Expose `--enable-sandbox` command-line switch.

When `--enable-sandbox` is passed, electron will use chromium sandbox to spawn
all renderers, and every new BrowserWindow will automatically have "sandboxed"
passed as a web preference(since the renderer would not work properly
otherwise).
atom/app/atom_main_delegate.cc
atom/browser/atom_browser_client.cc