Closed Bug 1241602 Opened 9 years ago Closed 3 years ago

Add telemetry for DOMMouseScroll and MozMousePixelScroll usage

Categories

(Core :: DOM: Events, defect, P5)

36 Branch
defect

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: smaug, Assigned: smaug)

References

(Depends on 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

I was chatting with rbyers from blink and would be great to get rid of both mousewheel and DOMMouseScroll/MozPixelScroll events.
But before adding even warnings, better to have some telemetry about the usage.
Unfortunately the usage is probably very high atm.
Depends on: 1241603
> Unfortunately the usage is probably very high atm.

Yeah, I think so. I see a lot of web sites which explain how to handle mouse wheel on web apps are still introducing legacy events rather than wheel events. Sigh...
How about the result of the telemetry?
Priority: -- → P5
Attached file Bug 1241602 - Typo fix. (obsolete) —

Depends on D106413

mousewheel stats for blink. ~4% today
https://www.chromestatus.com/metrics/feature/timeline/popularity/1125

Libraries like CodeMirror use a

  // Listen to wheel events in order to try and update the viewport on time.
  on(d.scroller, "mousewheel", e => onScrollWheel(cm, e))
  on(d.scroller, "DOMMouseScroll", e => onScrollWheel(cm, e))

https://github.com/codemirror/CodeMirror/blob/8bc57f76383e62e1a03c7d97c9eac74493fdbedc/src/edit/CodeMirror.js#L193-L195

Attachment #9205361 - Attachment is obsolete: true
Summary: Add telemetry for DOMMouseScroll usage → Add telemetry for DOMMouseScroll and MozMousePixelScroll usage
Pushed by twisniewski@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4d83d8c8dbee
Adds telemetry for DOMMouseScroll usage. r=smaug
https://hg.mozilla.org/integration/autoland/rev/02845f9654d2
Adds telemetry for MozMousePixelScroll usage. r=smaug
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: