browserSettings.colorManagement API
Hint
The browserSettings.colorManagement API is inherited from Firefox, and its primary documentation is maintained by Mozilla at MDN. Thunderbird implements only the subset of functions, events, and types listed here. The MDN pages may provide further details and examples, but they may also reference features that are not supported in Thunderbird.
Use the browserSettings.colorManagement API to query and set items related to color management.
Permissions
The following permissions influence the behavior of the API. Depending on which permissions are requested, additional methods might be available, or certain data may be included in responses.
Hint
Request permissions only when needed. Unnecessary requests may result in rejection during ATN review.
browserSettings
Read and modify browser settings.
Properties
mode
This setting controls the mode used for color management and must be a string from ColorManagementMode
useNativeSRGB
This boolean setting controls whether or not native sRGB color management is used.
useWebRenderCompositor
This boolean setting controls whether or not the WebRender compositor is used.