Bug 1294641 - whitelist reads from the .app directory in the macOS sandbox r=froydnj,haik
This patch does a few things: a) Adds the resources location from the .app directory to the read whitelist b) When it's a non-packaged build, mach run (and various mach tests) set an environment variable for the repo location which we allow reads from. r=haik,froydnj MozReview-Commit-ID: KNvAoUs5Ati
This commit is contained in:
@@ -222,6 +222,7 @@ class MachCommands(MachCommandBase):
|
||||
return self._run_reftest(**kwargs)
|
||||
|
||||
def _run_reftest(self, **kwargs):
|
||||
kwargs["topsrcdir"] = self.topsrcdir
|
||||
process_test_objects(kwargs)
|
||||
reftest = self._spawn(ReftestRunner)
|
||||
if conditions.is_android(self):
|
||||
|
||||
Reference in New Issue
Block a user