From a5a6fec8ff8f22ad7941e69ffa34aabb35362ee0 Mon Sep 17 00:00:00 2001 From: Jonathan Griffin Date: Tue, 9 Apr 2013 17:31:42 -0700 Subject: [PATCH] Bug 860104 - Cast prefs after interpolation, r=ahal --- testing/mochitest/runtestsb2g.py | 2 ++ 1 file changed, 2 insertions(+) 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,