Closed Bug 1711574 Opened 3 years ago Closed 3 years ago

APZ logging improvement: print the names of states

Categories

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

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: botond, Assigned: mleclair)

References

Details

Attachments

(1 file)

When debugging input handling issues, one of the most useful types of log messages to look at are APZ state changes, which currently look like this:

apz.controller 000001772C4C0000 changing from state 0 to 3

Since the states are printed as numbers, you need to cross-reference them against the list here to understand them.

We could improve this by printing the state names as strings instead.

See Also: → 1711577
Assignee: nobody → mleclair
Status: NEW → ASSIGNED
Pushed by mleclair@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/906ebdfe06e2
Changed APZ state log to reflect enum state instead of integer r=botond DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: