High refresh rate detectable by websites when Wayland (MOZ_ENABLE_WAYLAND=1) is used
Can be tested in the following sites: https://www.testufo.com, https://fpstest.org
I use a monitor with a 144hz refresh rate in sway. I have been using Tor Browser with the Wayland backend (MOZ_ENABLE_WAYLAND=1) but after 14.0 and reading #42645 I began evaluating if I should unset that environment variable.
I've now noticed that with the X11 backend (xwayland in sway), the browser is running at 60 fps instead of 144 fps. I am not aware of the state of fingerprinting protections wrt refresh rate. Does Tor Browser have fingerprinting protections for refresh rate (websites should not be able to know my exact refresh rate on a high refresh rate monitor), which wasn't working properly on the Wayland backend? Or is the fact that it's running at 60 fps an unrelated bug and Tor Browser should run at 144 fps? (I do think that limiting the refresh rate is a good idea, as websites were able to detect my high refresh rate on the Wayland backend, which seems bad especially on exotic refresh rates)