Smooth scrolls are disabled if the user prefers-reduced-motion regardless of fingerprint resistance
Categories
(Core :: Layout: Scrolling and Overflow, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: dlrobertson, Assigned: fkilic)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
+++ This bug was initially created as a clone of Bug #1832598 +++
Summary
When privacy.resistFingerprinting
is set smooth scrolling should immediately default to disabled without requiring a restart.
Steps to reproduce
- Set prefers reduced motion or set
general.smoothScroll
tofalse
- Set
privacy.resistFingerprinting
totrue
- Navigate to https://dlrobertson.com/examples/scrollinto-view-scrollend.html
Actual Results:
Both scrolls run in the script are instant
Expected Results:
Regardless of the value of prefers-reduced-motion
or general.smoothScroll
, we should smooth scroll for the second programmatic scroll.
Updated•2 years ago
|
Assignee | ||
Comment 1•5 months ago
•
|
||
This is an easy fix, but I'm not sure if this would be desirable. We are only writing to default pref branch, and if the user changed the pref, we respect it. I do agree that it adds to the user's fingerprintability, but I'm not sure how we can solve this without breaking the things for people that depend on this feature.
Comment 2•5 months ago
|
||
test: https://arkenfox.github.io/TZP/tests/scroll.html
So part of the issue is RFP doesn't really protect this - I think it's set when RFP is enabled but then can get over-riden in several ways, one of which includes the UI (which is not a good fit for FF, whereas TB can remove UI elements)
Ideally, for us, the patch would ignore all prefs and OS settings and just enforce smooth scroll, period. Maybe we can do that here with all but the UI pref, and TB can just lock/set that (we plan to make about:config interstitial sticky and scary with warnings/info)
Assignee | ||
Comment 3•5 months ago
•
|
||
I see. I mean if accessibility isn't that big of a concern sure, I can working on a fix.
Assignee | ||
Comment 4•5 months ago
|
||
Updated•5 months ago
|
Assignee | ||
Comment 5•5 months ago
|
||
Comment 6•5 months ago
|
||
see https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/42070 for downstream
(In reply to Fatih Kilic from comment #3)
I see. I mean if accessibility isn't that big of a concern sure, I can working on a fix.
It is, but requires a different solution - maybe a bit like RFPTargets and some UI. Personally I don't see an issue with smoothScroll being enforced, see this but IANAE on a11y
Updated•5 months ago
|
Comment 8•5 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5fedb6066739
https://hg.mozilla.org/mozilla-central/rev/7ff8b1689b34
Comment 9•5 months ago
|
||
verified as fixed
- tested with RFP + combos of
general.smoothScroll
andui.prefersReducedMotion
- did not test with setting OS reduced motion and restarting the browser
Updated•4 months ago
|
Comment 10•3 months ago
|
||
I was able to reproduce the issue on Win10x64 using Firefox build 131.0a1 (2024-09-01).
Verified as fixed on Win10x64 and macOS 13.6 ARM using Firefox build 134.0a1 and 133.0b9.
Description
•