Add test that exercises a scrollbar drag
Categories
(Core :: Panning and Zooming, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: dlrobertson, Assigned: dlrobertson)
References
Details
Attachments
(1 file)
It would be nice to have a test that exercises a hit-test that should result in a scrollbar drag hit (bug 1787361).
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
We must have tests that do this for mouse moves already. Maybe you can modify an existing test to use touches.
Comment 2•2 years ago
|
||
(In reply to Timothy Nikkel (:tnikkel) from comment #1)
We must have tests that do this for mouse moves already. Maybe you can modify an existing test to use touches.
Yeah, good point, here's one: https://searchfox.org/mozilla-central/source/gfx/layers/apz/test/mochitest/helper_drag_root_scrollbar.html
The logic inside promiseVerticalScrollbarDrag()
takes care of a bunch of details related to targeting scrollbars (e.g. checking for overlay, working around scrollbar buttons) that could be reused for targeting touch events at them.
Assignee | ||
Comment 3•2 years ago
|
||
Comment 5•2 years ago
|
||
Backed out for causing failures at browser_test_scroll_thumb_dragging.js.
Backout link: https://hg.mozilla.org/integration/autoland/rev/0afe8aa05c5ad02f319767a8da0a70db437e246a
Failure log: https://treeherder.mozilla.org/logviewer?job_id=388975610&repo=autoland&lineNumber=3600
Assignee | ||
Comment 6•2 years ago
|
||
Ah, I messed up the parameter rename for promiseVerticalScrollbarDrag
.
Comment 8•2 years ago
|
||
bugherder |
Description
•