test(bazel): Remove --no-sandbox for protractor tests (#25362)

Since we no longer need this flag to run web tests inside a docker
container, this reverts https://github.com/angular/angular/pull/24906

PR Close #25362
This commit is contained in:
Wei Huang 2018-08-07 16:07:46 -04:00 committed by Jason Aden
parent 31f0f5b3c3
commit f053a3f274
1 changed files with 0 additions and 5 deletions

View File

@ -107,11 +107,6 @@ if (process.env['WEB_TEST_METADATA']) {
if (headless) {
args.push('--headless');
args.push('--disable-gpu');
const isRoot = process.getuid && process.getuid() == 0;
if (isRoot) {
// Specify --no-sandbox if it is started by root.
args.push('--no-sandbox');
}
}
setConf(conf, 'directConnect', true, 'is set to true for chrome');
setConf(