diff options
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/functional/PYAUTO_TESTS | 1 | ||||
-rw-r--r-- | chrome/test/pyautolib/pyauto.py | 8 |
2 files changed, 2 insertions, 7 deletions
diff --git a/chrome/test/functional/PYAUTO_TESTS b/chrome/test/functional/PYAUTO_TESTS index 55e1ad8..b79dadbf 100644 --- a/chrome/test/functional/PYAUTO_TESTS +++ b/chrome/test/functional/PYAUTO_TESTS @@ -69,7 +69,6 @@ # codesign tests should run *after* signing. crbug.com/50481 '-codesign', '-content.ContentTest.testThreeWindows', # crbug.com/47457 - '-crash_reporter', # --enable-crash-reporter not working. crbug.com/57189 ], 'linux': [ # linux != chromeos diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py index 7b20154..3fed9f71 100644 --- a/chrome/test/pyautolib/pyauto.py +++ b/chrome/test/pyautolib/pyauto.py @@ -1670,12 +1670,8 @@ class Main(object): suite_args = [sys.argv[0]] chrome_flags = self._options.chrome_flags - # Enable crash reporter by default on posix. - # On windows, the choice to enable/disable crash reporting is made when - # downloading the installer. - # TODO(nirnimesh): Figure out a way to control this from here on Win too. - if PyUITest.IsPosix(): - chrome_flags += ' --enable-crash-reporter' + # Set CHROME_HEADLESS. It enables crash reporter on posix. + os.putenv('CHROME_HEADLESS', '1') # --dom-automation added in PyUITestBase::PyUITestBase() suite_args.append('--extra-chrome-flags=%s' % chrome_flags) |