Bug 860108 - Clone starting repo for b2g desktop mochitests, r=ahal

This commit is contained in:
Jonathan Griffin 2013-04-09 17:13:32 -07:00
parent 41bbe80170
commit 6e813d9855

View File

@ -130,11 +130,18 @@ container.src = '%s';
for pref in prefs:
prefs[pref] = Preferences.cast(prefs[pref])
self.profile = Profile(addons=self.getExtensionsToInstall(options),
apps=self.webapps,
locations=self.locations,
preferences=prefs,
proxy={"remote": options.webServer})
kwargs = {
'addons': self.getExtensionsToInstall(options),
'apps': self.webapps,
'locations': self.locations,
'preferences': prefs,
'proxy': {"remote": options.webServer}
}
if options.profile:
self.profile = Profile.clone(options.profile, **kwargs)
else:
self.profile = Profile(**kwargs)
options.profilePath = self.profile.profile
# TODO bug 839108 - mozprofile should probably handle this