Closed Bug 1392844 Opened 2 years ago Closed 2 years ago

Ensure that Stylo respects privacy.resistFingerprinting


(Core :: Layout, enhancement, P3)




Tracking Status
firefox57 --- wontfix


(Reporter: arthur, Unassigned)


(Blocks 1 open bug)


(Whiteboard: [tor][fingerprinting][stylo][fp-backlog])

In bug 418986 , we introduced CSS patches behind the "privacy.resistFingerprinting" pref. These patches hide various fingerprintable characteristics of the system or the user's hardware that CSS normally exposes.

Mochitests are here:

We would like to apply these mochitests to Stylo, and patch Stylo so that they all pass.
There are other preferences that may be relevant. One that came up earlier was mathml.disabled.  There's also a pref that disables SVG for content; disabling graphite; stuff related to WebGL; and others - I'm not sure exactly where the line is drawn between what is and isn't in stylo.
Whiteboard: [tor] → [tor][fingerprinting]
Blocks: stylo
Whiteboard: [tor][fingerprinting] → [tor][fingerprinting][stylo]
We reuse the Gecko mechanism for media-query evaluation, so those should be respected automatically.

I think the other bit I can think of is the visited style pref, which we also respect.

Is there anything else I haven't thought of?
(In reply to Emilio Cobos Álvarez [:emilio] from comment #2)
> Is there anything else I haven't thought of?

We didn't think of anything right now, aside from ensuring that the tests we put in Bug 418986 are run (but I imagine stylo passing all tests is something you're already tracking if it's not done already.)
Priority: -- → P3
Whiteboard: [tor][fingerprinting][stylo] → [tor][fingerprinting][stylo][fp-backlog]
Tagging Arthur for advice on how to proceed.
Flags: needinfo?(arthuredelstein)
Is there any Stylo work that still needs to be done to support privacy.resistFingerprinting?
Not as far as I can tell. At least nothing that was tested :)
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.