Open Bug 1847600 Opened 1 year ago Updated 1 year ago

vsync keeps running if the shopping sidebar is hidden - should tell gecko when it's not needed/visible

Categories

(Firefox :: Shopping, defect, P3)

defect

Tracking

()

ASSIGNED
Tracking Status
firefox118 --- affected

People

(Reporter: Gijs, Assigned: Gijs)

References

(Blocks 1 open bug)

Details

(Keywords: perf:animation, perf:resource-use, Whiteboard: [fidefe-shopping])

Attachments

(1 file)

See bug 1847584.

This ends up happening when we're in the "loading" state and the sidebar is hidden.

For now, we should probably manually set docShellIsActive to false on the browsingcontexts that are hidden, and back to true when unhiding them. This also (it appears) applies to tab switches.

Whiteboard: [fidefe-shopping]

Setting P3 because there is no current assignee - but I suspect we should get to this sooner rather than later, as this cause unnecessary power usage.

Severity: -- → S4
Priority: -- → P3

:gijs, should this be a P1/P2 for 119?

Flags: needinfo?(gijskruitbosch+bugs)

(In reply to Jared Hirsch [:jhirsch] (he/him) (Needinfo please) from comment #2)

:gijs, should this be a P1/P2 for 119?

I think this is WFM now bug 1847584 is fixed. It's possible we'd still benefit from setting isActive to false on sidebars in background tabs but I'm not sure if that's true. Emilio?

Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(emilio)

It's probably worth it.

Flags: needinfo?(emilio)
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: