Bug 917576. Parse non-string pref values. r=ahal

This commit is contained in:
Nicholas Cameron 2013-09-19 07:25:20 +12:00
parent b93eaca87b
commit 60d2049353

View File

@ -79,7 +79,7 @@ class RefTest(object):
if len(thispref) < 2:
print "Error: syntax error in --setpref=" + v
sys.exit(1)
prefs[thispref[0]] = thispref[1]
prefs[thispref[0]] = mozprofile.Preferences.cast(thispref[1].strip())
# install the reftest extension bits into the profile
addons = []