Closed Bug 1699880 Opened 5 years ago Closed 5 years ago

Get tests to pass on desktop with apz.overscroll.enabled=true

Categories

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

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: botond, Assigned: botond)

References

Details

Attachments

(2 external files)

No description provided.

It looks like all the failures are in tests that set a "test async scroll offset" (TASO), and don't expect it to go into overscroll, but (as of bug 1697712), it now does.

Rather than fixing all the affected tests, and imposing a requirement on future tests to be careful not to accidentally get into overscroll using the TASO, I'd rather we gate the overscrolling behaviour of the TASO with an additional pref, which is used only by tests which specifically want to test overscrolling.

Assignee: nobody → botond

This way, tests which specifically want to test overscroll can set the
pref explicitly, and other tests need not worry about accidentally
going into overscroll.

This depends on bug 1686146 (not conceptually, just the way I've ordered my patches).

Depends on: 1686146
Pushed by bballo@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5adae7b25875 Gate the test async scroll offset going into overscroll on a pref. r=tnikkel https://hg.mozilla.org/integration/autoland/rev/49caadff1f4f Avoid unnecessary work in AsyncPanZoomController::IsOverscrolled(). r=tnikkel
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: