Closed Bug 1684001 Opened 4 years ago Closed 3 years ago

Add blocklist to not use `deltaMode` attribute to `DOM_DELTA_MODE_PIXEL`

Categories

(Core :: DOM: Events, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: masayuki, Assigned: emilio)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Per domain? I have no concrete idea yet.

Do you have an example of how to best go about this? We've done similar things for window.event and such right?

Flags: needinfo?(masayuki)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #1)

Do you have an example of how to best go about this? We've done similar things for window.event and such right?

Right. I'm thinking about it's like: https://searchfox.org/mozilla-central/rev/44695ef057e422a8d6c6056972bdf32766c36187/layout/base/PresShell.cpp#8649-8653
But wheel event is fired too many times so, PresShell should store it, and set something a flag in WidgetWheelEvent.

Flags: needinfo?(masayuki)
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Blocks: 1696384
Keywords: leave-open
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/52c6a21b39fb
IsURIInPrefList should be infallible. r=masayuki
https://hg.mozilla.org/integration/autoland/rev/2396dd65ee8d
Move the code to compute a principal for blocklisting to Document. r=masayuki
Pushed by abutkovits@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/feb05154b415
IsURIInPrefList should be infallible. r=masayuki
https://hg.mozilla.org/integration/autoland/rev/92cfd047b6ca
Move the code to compute a principal for blocklisting to Document. r=masayuki

As per Matrix discussion I don't think this is related to my push.

Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/22e1a448b65d
Add a pref-based blocklist to control default deltaMode. r=masayuki
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: