diff --git a/testing/mochitest/runtestsb2g.py b/testing/mochitest/runtestsb2g.py index 547fdcd95b4..9d6e322b1a6 100644 --- a/testing/mochitest/runtestsb2g.py +++ b/testing/mochitest/runtestsb2g.py @@ -109,6 +109,8 @@ container.src = '%s'; interpolation = { "server": "%s:%s" % (options.webServer, options.httpPort), "OOP": "true" if self.OOP else "false" } prefs = json.loads(json.dumps(prefs) % interpolation) + for pref in prefs: + prefs[pref] = Preferences.cast(prefs[pref]) self.profile = Profile(addons=self.getExtensionsToInstall(options), apps=self.webapps,