allowing file:// URI to access other file:// URIs for filesytem api use

This commit is contained in:
deepak1556 2015-05-12 18:21:48 +05:30
parent add7f8a4aa
commit 32ba219146

View file

@ -78,6 +78,9 @@ void AtomMainDelegate::PreSandboxStartup() {
// Disable renderer sandbox for most of node's functions.
command_line->AppendSwitch(switches::kNoSandbox);
// Allow file:// URIs to read other file:// URIs by default.
command_line->AppendSwitch(switches::kAllowFileAccessFromFiles);
#if defined(OS_MACOSX)
// Enable AVFoundation.
command_line->AppendSwitch("enable-avfoundation");