-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabling privacy.resistFingerprinting on Firefox's about:config breaks camera movement. #4793
Comments
Yeah not sure. It look like Firefox is intentionally introducing noise in the input. Not sure what can be done about it on the A-Frame side @takahirox Do you know how resistFingerprinting is affecting WebXR WebGL? Thanks. No worries if you don't |
Sorry, no idea. I will forward the question to the Firefox devs. |
I'm the FF maintainer of resistFingerprinting (RFP). While we do make some limitations to WebGL as part of RFP, what you've described is more consistent with the timer clamping we do. For whatever reason I cannot load your demo; but to narrow it down, try turning RFP off, but setting It would be very interesting indeed if you were able to find a way to resolve this and produce smooth movement without requiring a high-resolution timer. I've talked to people and it seems like it ought to be possible, but no one's really been interested in trying. You can detect Tor Browser/RFP users by calling performance.now() twice and if both are a multiple of 100ms, you know you're dealing with such a user and can display a warning or a link to a help article or something. |
Thanks @takahirox @tomrittervg for the info. Much appreciated. Not sure what can be done in the A-Frame side to produce smooth animation at 60Hz / 90Hz... without an accurate timer. |
Just tested with RFP off and with the reduceTimerPrecision setting changed and yep, same results. Results are worse on more populated scenes also, here's an example of that on the project I work on (link to the page shown here): |
Err, scratch that, Date.now() is also clamped by RFP |
Wouldn't be much of a security mitigation if we left that bit open now, would it? :) |
I have filed a bug about the difficulties here against Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1692609 |
@samuel-zuk @jdashg Thanks folks for looking into it. Much appreciated |
This looks that's still being addressed on the Firefox side. |
Is this still an issue? |
Description: Enabling privacy.resistFingerprinting on Firefox's about:config breaks camera movement.
Hello all, I had recently been trying to track down a strange bug that followed me around on my Firefox install for all A-Frame apps I had tried to run in the browser, and had narrowed it down to the privacy.resistFingerprinting setting I had set to "true" in my about:config page. Essentially, when moving the camera (i.e. changing the position, manipulating the rotation with look controls operated normally) with this setting enabled, the camera movement would either be incredibly choppy and sluggish, or the camera would jitter back and forth, occasionally warping somewhere else in the scene. This occurred while using both the default controls (wasd-controls and look-controls) or the movement-controls component in the aframe-extras package, although the ways in which the movement bugged out varied between the two (example linked above).
Not sure what can be done to prevent this (it only seems to affect the camera position from my testing), but I've included some links here that could help lead in the right direction if this is something that can be worked around:
The text was updated successfully, but these errors were encountered: