Closed Bug 1626008 Opened 4 years ago Closed 4 years ago

Ensure the HitTestingTreeNode doesn't end up with stale sticky-pos data

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: kats, Assigned: kats)

Details

Attachments

(1 file)

Spinoff from https://phabricator.services.mozilla.com/D64494#inline-406156 - while reviewing that patch I noticed that there might be a bug in the code with respect to populating the sticky-pos fields in HitTestingTreeNode. In particular, nodes may be recycled and the caller is responsible for repopulating data fields. This comment was written when hit-testing data was the only data stored in HTTN, but that comment should be updated to cover all the data fields. And the sticky pos data should be updated on the HTTN in all branches or unconditionally here and here.

Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1501bdf1379f
Ensure the HTTN data gets updated after recycling. r=botond
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: