user_pref("privacy.resistFingerprinting", true) breaks CSS Media Queries Level 5 code prefers-color-scheme
Categories
(Web Compatibility :: Desktop, defect)
Tracking
(Not tracked)
People
(Reporter: vtol, Unassigned)
References
Details
user_pref("privacy.resistFingerprinting", true
neglects site'sprefers-color-scheme
user_pref("privacy.resistFingerprinting", false
honours site'sprefers-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.
Comment 3•5 years ago
|
||
This is intended behavior and explicitly meant to be not configurable by the user as explained in bug 1535189.
Comment 5•5 years ago
|
||
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.
Comment 7•5 years ago
|
||
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.
Comment 9•5 years ago
|
||
(In reply to vtol from comment #8)
ui.systemUsesDarkTheme
does not help/wor around the matter. As far as I can comphrehend the underlying codeuser_pref("privacy.resistFingerprinting", true)
implies that any/all@media
queries are not being responded to.
That is correct; and as :johnp said - intended behavior.
Reporter | ||
Comment 10•5 years ago
|
||
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.
Description
•