Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 852842 - Disable crash reporter ui in Autophone, r=mcote.

  • Loading branch information...
commit 3efbb60fc4b6381f1ca18b17d26c5210ee3b6f9e 1 parent 88f839b
@bclary bclary authored
Showing with 3 additions and 1 deletion.
  1. +2 −1  phonetest.py
  2. +1 −0  tests/s1s2test.py
View
3  phonetest.py
@@ -126,10 +126,11 @@ def install_profile(self, profile=None):
def run_fennec_with_profile(self, intent, url):
output = StringIO.StringIO()
+ env = {'MOZ_CRASHREPORTER_NO_REPORT': '1'}
args = ['am', 'start', '-a', 'android.intent.action.VIEW', '-n',
intent, '--es', 'args', '--profile %s' % self.profile_path,
'-d', url]
- self.dm.shell(args, output)
+ self.dm.shell(args, output, env=env)
logging.debug(output.getvalue())
def remove_sessionstore_files(self):
View
1  tests/s1s2test.py
@@ -133,6 +133,7 @@ def prepare_phone(self, build_metadata, cache_enabled):
telemetry_prompt = 2
prefs = { 'browser.firstrun.show.localepicker': False,
'browser.sessionstore.resume_from_crash': False,
+ 'dom.ipc.plugins.flash.subprocess.crashreporter.enabled': False,
'browser.firstrun.show.uidiscovery': False,
'shell.checkDefaultClient': False,
'browser.warnOnQuit': False,
Please sign in to comment.
Something went wrong with that request. Please try again.