Bug 1385891 - Whitelist things in the extension dir, not just the dir itself. r=jld

MozReview-Commit-ID: 3DryT8mm1F3

--HG--
extra : rebase_source : 23a8bda22307687884aa73d454221a78a4922791
This commit is contained in:
Gian-Carlo Pascutto 2017-08-04 09:48:32 +02:00
parent be74891fba
commit 36784f22aa

View File

@ -282,7 +282,7 @@ SandboxBrokerPolicyFactory::GetContentPolicy(int aPid, bool aFileProcess)
nsAutoCString tmpPath;
rv = workDir->GetNativePath(tmpPath);
if (NS_SUCCEEDED(rv)) {
policy->AddPath(rdonly, tmpPath.get());
policy->AddDir(rdonly, tmpPath.get());
}
}
}