Closed Bug 1056829 Opened 10 years ago Closed 10 years ago

Warnings about missing handoff parents while running "mach gtest A*"

Categories

(Core :: Panning and Zooming, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: kats, Assigned: kats)

References

Details

Attachments

(1 file, 1 obsolete file)

When running the gtests in debug mode I get some warnings in the overscroll handoff tests. For example: [ RUN ] APZOverscrollHandoffTester.LayerStructureChangesWhileEventsArePending [5532] WARNING: Found a non-root APZ with no handoff parent: file /home/kats/zspace/mozilla-git/gfx/layers/apz/src/APZCTreeManager.cpp, line 1037 [5532] WARNING: Found a non-root APZ with no handoff parent: file /home/kats/zspace/mozilla-git/gfx/layers/apz/src/APZCTreeManager.cpp, line 1037 [ OK ] APZOverscrollHandoffTester.LayerStructureChangesWhileEventsArePending (0 ms)
Attached patch Patch (obsolete) (deleted) — Splinter Review
Attachment #8476678 - Flags: review?(botond)
Comment on attachment 8476678 [details] [diff] [review] Patch Review of attachment 8476678 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for fixing this! The test patch for bug 1042974 adds a CreateScrollgrabLayerTree() function, perhaps you can rebase and the SetScrollHandoff() lines to that one too before landing? ::: gfx/tests/gtest/TestAsyncPanZoomController.cpp @@ +1742,5 @@ > SetScrollableFrameMetrics(layers[3], FrameMetrics::START_SCROLL_ID + 2, CSSRect(0, 50, 100, 100)); > SetScrollableFrameMetrics(layers[4], FrameMetrics::START_SCROLL_ID + 3, CSSRect(0, 50, 100, 100)); > + SetScrollHandoff(layers[1], root); > + SetScrollHandoff(layers[2], layers[1]); > + SetScrollHandoff(layers[3], root); We don't give the root a scrollable FrameMetrics in this layer tree, so we can omit the 'layers[1] -> root' and 'layers[3] -> root' links.
Attachment #8476678 - Flags: review?(botond) → review+
Attached patch Patch (deleted) — Splinter Review
Rebased to latest master and addressed review comments.
Attachment #8476678 - Attachment is obsolete: true
Attachment #8476812 - Flags: review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: