Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 847769 - Change telemetry-prompt preference for older builds. r=bc

  • Loading branch information...
commit c85dc2ae7ca53e3da051efe9154cb110321bbbab 1 parent 9bca04b
Mark Côté markrcote authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 tests/s1s2test.py
7 tests/s1s2test.py
View
@@ -87,14 +87,17 @@ def runjob(self, job, worker_subprocess):
testname=testname)
def prepare_phone(self, job):
+ telemetry_prompt = 999
+ if job['blddate'] < '2013-01-03':
+ telemetry_prompt = 2
prefs = { 'browser.firstrun.show.localepicker': False,
'browser.sessionstore.resume_from_crash': False,
'browser.firstrun.show.uidiscovery': False,
'shell.checkDefaultClient': False,
'browser.warnOnQuit': False,
'browser.EULA.override': True,
- 'toolkit.telemetry.prompted': 999,
- 'toolkit.telemetry.notifiedOptOut': 999 }
+ 'toolkit.telemetry.prompted': telemetry_prompt,
+ 'toolkit.telemetry.notifiedOptOut': telemetry_prompt }
profile = FirefoxProfile(preferences=prefs)
self.install_profile(profile)
self.dm.mkDir('/mnt/sdcard/s1test')
Please sign in to comment.
Something went wrong with that request. Please try again.