Closed Bug 1944211 Opened 8 months ago Closed 6 months ago

RFPTarget PointerEvents mozPressure not compat

Categories

(Core :: DOM: Events, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox-esr128 --- fixed
firefox138 --- fixed

People

(Reporter: thorin, Assigned: fkilic)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

In Bug 1871789 we closed some RFP pointer event leaks, but failed to make mozPressure behave same as a real mouse and the same as pressure - this is not an entropy issue, as all RFP users are the same, but would be nice to be smarter about things and match real world

https://arkenfox.github.io/TZP/tests/pointerevent.html

non-rfp mouse

          pressure: 0.5 | 0 | 0 | 0 | 0 | 0 | 0
       mozPressure: 0.5 | 0 | 0 | 0 | 0 | 0 | 0

rfp mouse [edit: to be clear, if the value is the same for all events, it only writes it once]

          pressure: 0.5 | 0 | 0 | 0 | 0 | 0 | 0
       mozPressure: 0.5

This would be nice to have for the next ESR. We have Bug 1534199 but it's going to take years to deprecate this, and this bug is triggering me and making me sad. Should be a simple IMO (but I'm not the engineer)

Flags: needinfo?(pierov)
Assignee: nobody → fkilic
Status: NEW → ASSIGNED

Clearing the NI since Fatih self-assigned this.

Flags: needinfo?(pierov)
Pushed by fkilic@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f77149613802 Match PointerEvents's implementation for mozPressure. r=tjr
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch

verified fixed in Nightly 138. Is it possible to backport this to ESR128, thanks :)

Flags: needinfo?(fkilic)
Attachment #9475729 - Flags: approval-mozilla-esr128?

esr128 Uplift Approval Request

  • User impact if declined: ResistFingerprinting users will have a non-compat moz-pressure value
  • Code covered by automated testing: no
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: Visit https://arkenfox.github.io/TZP/tests/pointerevent.html, verify pressure and moz-pressure matches
  • Risk associated with taking this patch: None
  • Explanation of risk level: None because we are just matching an already existing behaviour to another property, and only for resistfingerprintingprotection users
  • String changes made/needed: No
  • Is Android affected?: yes

Requested it

Flags: needinfo?(fkilic)
Attachment #9475729 - Flags: approval-mozilla-esr128? → approval-mozilla-esr128+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: