Closed Bug 1698441 Opened 4 years ago Closed 4 years ago

Remove synthesizeNativeWheelAndWaitForWheelEvent

Categories

(Core :: Panning and Zooming, task)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

Attachments

(2 files)

synthesizeNativeWheelAndWaitForWheelEvent is a callback-style function with a promise-style equivalent that should be used instead.

This test is not actually run in CI (disabled via mochitest.ini), so
this has zero effect. Even if it did run, the call to
synthesizeNativeWheelAndWaitForWheelEvent is not passing in a callback
function; it runs the following rAF line immediately. So calling the
function that "waits for the wheel event" is pointless, we can just
call the version that synthesizes the native wheel input and it is
functionally identical.

Depends on D108441

Pushed by kgupta@mozilla.staktrace.com: https://hg.mozilla.org/integration/autoland/rev/5fffc5a7ed9f Remove call to synthesizeNativeWheelAndWaitForWheelEvent. r=tnikkel https://hg.mozilla.org/integration/autoland/rev/b96dbaae4d65 Remove synthesizeNativeWheelAndWaitForWheelEvent. r=tnikkel
Status: NEW → RESOLVED
Closed: 4 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: