Permalink
Browse files

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

  • Loading branch information...
1 parent 9bca04b commit c85dc2ae7ca53e3da051efe9154cb110321bbbab @markrcote markrcote committed Mar 5, 2013
Showing with 5 additions and 2 deletions.
  1. +5 −2 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')

0 comments on commit c85dc2a

Please sign in to comment.