Closed Bug 1588540 Opened 5 years ago Closed 5 years ago

user_pref("privacy.resistFingerprinting", true) breaks CSS Media Queries Level 5 code prefers-color-scheme

Categories

(Web Compatibility :: Site Reports, defect)

x86_64
Windows 10
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1535189

People

(Reporter: vtol, Unassigned)

References

Details

  • user_pref("privacy.resistFingerprinting", true neglects site's prefers-color-scheme
  • user_pref("privacy.resistFingerprinting", false honours site's prefers-color-scheme

Tested on

Since the OS colour schemes would appear to be either:

  • light, or
  • dark

the entropy density would be appear rather high and thus it does not make sense to break the CSS code.

Depends on: 1401440

This breaks also the dark mode for Lockwise's about:logins

This is intended behavior and explicitly meant to be not configurable by the user as explained in bug 1535189.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE

Also, fwiw, this pref is an integer, so user_pref("privacy.resistFingerprinting", true) is not the right thing to do. user_pref("privacy.resistFingerprinting", 1) is though.

toggle in about:config sets to either true or false

Blerg, sorry, I meant to write ui.systemUsesDarkTheme, my fault.

ui.systemUsesDarkTheme does not help/wor around the matter. As far as I can comphrehend the underlying code user_pref("privacy.resistFingerprinting", true) implies that any/all @media queries are not being responded to.

(In reply to vtol from comment #8)

ui.systemUsesDarkTheme does not help/wor around the matter. As far as I can comphrehend the underlying code user_pref("privacy.resistFingerprinting", true) implies that any/all @media queries are not being responded to.

That is correct; and as :johnp said - intended behavior.

I understand why @media queries are not being responded to, but that was implemented probably prior prefers-color-scheme been conceived and thus now being colleteal.

Since RFP does not provide a fine grain knob to either:

  • turn prefers-color-scheme queries on/off either globally or better even per domain, or
  • turn RFP on/off per domain

I have reverted privacy.resistFingerprinting to false and utilizing other available knobs a/o WX to deal with fingerprinting.

You need to log in before you can comment on or make changes to this bug.