Closed Bug 2031853 Opened 7 months ago Closed 7 months ago

Resolve endWheelTransaction Promise even if there's no APZCTreeManager

Categories

(Core :: Panning and Zooming, defect)

defect

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: hiro, Assigned: hiro)

References

Details

Attachments

(1 external file)

ChromeUtils.endWheelTransction invokes this function;

https://searchfox.org/firefox-main/rev/76e27fdaa88b45ffb740b6bbd21bc016cee3db25/gfx/layers/ipc/CompositorBridgeParent.cpp#839-845

void CompositorBridgeParent::EndWheelTransaction(
    const LayersId& aLayersId,
    PWebRenderBridgeParent::EndWheelTransactionResolver&& aResolve) {
  if (mApzcTreeManager) {
    mApzcTreeManager->EndWheelTransaction(std::move(aResolve));
  }
}

Apparently in the case where mApzcTreeManager is nullptr, aResolve will never be resolved. That's the root cause of the failure Henrik saw in bug 2031596 comment 4.

Though I have totally no idea why there's no mApzcTreeManager.

Assignee: nobody → hikezoe.birchill
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
QA Whiteboard: [qa-triage-done-c152/b151]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: