Enable sandbox on webview
This commit is contained in:
parent
6a9de535c7
commit
b5239754ba
2 changed files with 9 additions and 8 deletions
|
@ -130,9 +130,6 @@ void AtomMainDelegate::PreSandboxStartup() {
|
|||
// Disable setuid sandbox since it is not longer required on linux(namespace
|
||||
// sandbox is available on most distros).
|
||||
command_line->AppendSwitch(::switches::kDisableSetuidSandbox);
|
||||
} else {
|
||||
// Disable renderer sandbox for most of node's functions.
|
||||
command_line->AppendSwitch(::switches::kNoSandbox);
|
||||
}
|
||||
|
||||
// Allow file:// URIs to read other file:// URIs by default.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue