summaryrefslogtreecommitdiff
path: root/chromium/testing/scripts/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/testing/scripts/common.py')
-rw-r--r--chromium/testing/scripts/common.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/chromium/testing/scripts/common.py b/chromium/testing/scripts/common.py
index 6793c52da67..06a166648c8 100644
--- a/chromium/testing/scripts/common.py
+++ b/chromium/testing/scripts/common.py
@@ -24,12 +24,6 @@ import test_env
if sys.platform.startswith('linux'):
import xvfb
-# Unfortunately we need to copy these variables from ../test_env.py.
-# Importing it and using its get_sandbox_env breaks test runs on Linux
-# (it seems to unset DISPLAY).
-CHROME_SANDBOX_ENV = 'CHROME_DEVEL_SANDBOX'
-CHROME_SANDBOX_PATH = '/opt/chromium/chrome_sandbox'
-
SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__))
SRC_DIR = os.path.abspath(
@@ -461,10 +455,6 @@ class BaseIsolatedScriptArgsAdapter(object):
env = os.environ.copy()
- # Assume we want to set up the sandbox environment variables all the
- # time; doing so is harmless on non-Linux platforms and is needed
- # all the time on Linux.
- env[CHROME_SANDBOX_ENV] = CHROME_SANDBOX_PATH
valid = True
try:
env['CHROME_HEADLESS'] = '1'