vsync keeps running if the shopping sidebar is hidden - should tell gecko when it's not needed/visible
Categories
(Firefox :: Shopping, defect, P3)
Tracking
()
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)
(deleted),
text/x-phabricator-request
|
Details |
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.
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 1•1 year ago
|
||
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.
:gijs, should this be a P1/P2 for 119?
Assignee | ||
Comment 3•1 year ago
|
||
(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?
Assignee | ||
Comment 5•1 year ago
|
||
Updated•1 year ago
|
Description
•