[Mac] Fix gfx.color_management.display_profile for arbitrary profile paths
Categories
(Core :: Security: Process Sandboxing, defect, P2)
Tracking
()
People
(Reporter: haik, Unassigned)
References
Details
Setting the pref gfx.color_management.display_profile to contain the path to a color profile is a supported method for getting Firefox to use a color profile. It can be used along with some other color-related prefs documented on MDN[1]. Note: this pref is not needed for Firefox to use the profile that is currently selected as the system default.
The fix for bug 1501126 "[Mac] Enable sandbox early startup by default on Nightly" in build 65 regressed this functionality because it moved sandbox initialization earlier in startup, before the color profile is read, preventing gfx.color_management.display_profile from being used to load profiles not in the /System/Library/ColorSync/Profiles directory.
Bug 1506495 partially addresses the regression by whitelisting common directories for color profiles (in /Library and /Library), but didn't address the case where gfx.color_management.display_profile is set to an arbitrary location such as "/Downloads/MyMonitor.icc". (The /System/Library ColorSync directory is already accessible from the content process sandbox.)
This bug is filed to allow gfx.color_management.display_profile to work with profile files from any location on the filesystem.
Reporter | ||
Updated•5 years ago
|
Updated•2 years ago
|
Description
•