mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 1415379 - Add the entire _tests directory to the sandbox whitelist. r=ahal,Alex_Gaynor
mochitests needs access to TESTING_JS_MODULES which are installed in $(OBJDIR)\_tests\modules\ MozReview-Commit-ID: CMgDlj4uKeP --HG-- extra : rebase_source : 0a32b71db56bd68fc369d58117075dabf0465727
This commit is contained in:
parent
873f611a48
commit
beb2979a44
@ -1832,7 +1832,9 @@ toolbar#nav-bar {
|
||||
'5.1' in platform.version() and options.e10s:
|
||||
prefs['layers.acceleration.disabled'] = True
|
||||
|
||||
sandbox_whitelist_paths = [SCRIPT_DIR] + options.sandboxReadWhitelist
|
||||
# Whitelist the _tests directory (../..) so that TESTING_JS_MODULES work
|
||||
tests_dir = os.path.dirname(os.path.dirname(SCRIPT_DIR))
|
||||
sandbox_whitelist_paths = [tests_dir] + options.sandboxReadWhitelist
|
||||
if (platform.system() == "Linux" or
|
||||
platform.system() in ("Windows", "Microsoft")):
|
||||
# Trailing slashes are needed to indicate directories on Linux and Windows
|
||||
|
Loading…
Reference in New Issue
Block a user