Bug 972099: Set the value for preference gfx.color_management.force_srgb in the profile, rather than in the JS scripts afterwards, as it's too late by then. r=ahalberstadt

This commit is contained in:
Milan Sreckovic 2014-02-17 16:19:09 -05:00
parent 8d5599d538
commit 4fc6f5492a

View File

@ -170,6 +170,9 @@ class RefTest(object):
sys.exit(1)
prefs[thispref[0]] = mozprofile.Preferences.cast(thispref[1].strip())
# We need to set this here, see bug 972099
prefs['gfx.color_management.force_srgb'] = True
# install the reftest extension bits into the profile
addons = []
addons.append(os.path.join(SCRIPT_DIRECTORY, "reftest"))