Closed
Bug 1706195
Opened 3 years ago
Closed 3 years ago
Refactor test code that deals with compositorAPZTestData
Categories
(Core :: Panning and Zooming, task)
Core
Panning and Zooming
Tracking
()
RESOLVED
FIXED
91 Branch
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
Details
Attachments
(3 files)
Spinoff from https://phabricator.services.mozilla.com/D112501?id=428746#inline-627046
There's some duplicated code around handling the getCompositorAPZTestData()
structure that can be refactored.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
The helper function will parse both (1, 2) as well as (x=1, y=2)
strings, similarly to how parseRect works.
Assignee | ||
Comment 3•3 years ago
|
||
Even if requirePaints is false, we still index into the APZ test
data using paints.length - 1 and use those data structures
unconditionally. Therefore the code still requires a paint either
way in order to not throw an exception.
Depends on D116531
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D116532
Pushed by kgupta@mozilla.staktrace.com: https://hg.mozilla.org/integration/autoland/rev/31f06b7e22fa Extract a parsePoint helper function. r=hiro https://hg.mozilla.org/integration/autoland/rev/9b7b9db3a1f4 Drop requirePaints argument in test helper. r=hiro https://hg.mozilla.org/integration/autoland/rev/12cc3a645367 Extract a getLastApzcTree helper function. r=hiro
Comment 6•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/31f06b7e22fa
https://hg.mozilla.org/mozilla-central/rev/9b7b9db3a1f4
https://hg.mozilla.org/mozilla-central/rev/12cc3a645367
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox91:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•