Closed Bug 1784251 Opened 3 years ago Closed 3 years ago

allow widget/tests/browser/browser_test_swipe_gesture.js to test swipe to nav on linux

Categories

(Core :: Panning and Zooming, task, P3)

task

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: tnikkel, Assigned: tnikkel)

References

Details

Attachments

(1 file)

No description provided.

We implement SendNativeTouchpadPan/SynthesizeNativeTouchpadPan (like Windows does for this test).

I tried to use the existing functions SendNativeMouseScrollEvent/SynthesizeNativeMouseScrollEvent which are implemented on Linux and which are what we use for mac on this test, but it's already used for other stuff and it would be very clunky to overload it to make it work for this too.

I didn't see any way to "tag" he gdk events with more info, so making the observer notifier work was clunky. Similarly for getting the phase start/update/end work.

Assignee: nobody → tnikkel
Status: NEW → ASSIGNED
Severity: -- → S3
Priority: -- → P3
Pushed by tnikkel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d09cd2d80dbc Allow widget/tests/browser/browser_test_swipe_gesture.js to test swipe to nav on linux. r=hiro
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: