Open
Bug 1790988
Opened 2 years ago
Updated 2 years ago
Resist-fingerprinting letterboxing causes pointer lock to drift when moving mouse cursor
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox106 | --- | affected |
People
(Reporter: ke5trel, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
408.24 KB,
video/webm
|
Details |
STR:
- Set
privacy.resistFingerprinting.letterboxing = true
. - Visit https://mdn.github.io/dom-examples/pointer-lock/.
- Resize window so that the letterbox areas are different sizes.
- Click in the pointer lock zone.
- Move mouse cursor in small circles.
Expected:
Red ball remains in same space.
Actual:
Red ball drifts slowly to one side depending on letterbox size.
Does not happen with letterboxing disabled.
Updated•2 years ago
|
Severity: -- → S3
Comment 1•2 years ago
|
||
the pointer coordinates are being taken from the inner window rather than the viewport. Firefox (not Tor Browser) centers vertically. Both center horizontally.
Create a letterbox that has e.g. 10px matt to the left and 10px matt above and just click the mouse once to watch the red ball move on its own (diagonally and down). When it crosses the x or y threshold, you can see the coordinate is -10 (for example)
You need to log in
before you can comment on or make changes to this bug.
Description
•