Bug 860104 - Cast prefs after interpolation, r=ahal

This commit is contained in:
Jonathan Griffin 2013-04-09 17:31:42 -07:00
parent 70c5f545b9
commit a5a6fec8ff

View File

@ -109,6 +109,8 @@ container.src = '%s';
interpolation = { "server": "%s:%s" % (options.webServer, options.httpPort), interpolation = { "server": "%s:%s" % (options.webServer, options.httpPort),
"OOP": "true" if self.OOP else "false" } "OOP": "true" if self.OOP else "false" }
prefs = json.loads(json.dumps(prefs) % interpolation) prefs = json.loads(json.dumps(prefs) % interpolation)
for pref in prefs:
prefs[pref] = Preferences.cast(prefs[pref])
self.profile = Profile(addons=self.getExtensionsToInstall(options), self.profile = Profile(addons=self.getExtensionsToInstall(options),
apps=self.webapps, apps=self.webapps,