Closed Bug 1824467 Opened 2 years ago Closed 2 years ago

Let ui.systemUsesDarkTheme set prefers-color-scheme regardless of resistFingerprinting

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1824235

People

(Reporter: bugzilla.mozilla, Unassigned)

Details

+++ This bug was initially created as a clone of Bug #1535189 +++

The original issue is closed and cannot be commented on. I'd like to amend the request to allow at least prefers-color-scheme in moz-extension:// URLs. I use RFP and Dark Reader to get dark themes by default, but Dark Reader does not apply to other extension's pages, so they end up extremely bright and jarring when they get used (namely in the Multi-Account Containers "do you want to use container X" pages).

https://github.com/mozilla/multi-account-containers/issues/2494

Original description:

Currently prefers-color-scheme is stuck to light once resistFingerprinting is enabled, making it impossible for users to both communicate their color preference to a website and enable general fingerprinting resistance.

Explicitly setting the pref ui.systemUsesDarkTheme should probably override the privacy.resistFingerprinting default-to-light.

Yeah I agree we probably shouldn't do RFP in moz-extension:// documents.

Flags: needinfo?(tom)
Flags: needinfo?(evilpies)

I agree. This will be done in Bug 1824235.

You can test it today by setting privacy.resistFingerprinting.testGranularityMask to 1. This pref will be going away soon and this behavior will become the default

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1824235
Flags: needinfo?(tom)
Resolution: --- → DUPLICATE
Flags: needinfo?(evilpies)
You need to log in before you can comment on or make changes to this bug.