Closed
Bug 986423
Opened 11 years ago
Closed 11 years ago
Invisible animated gif activates the refresh driver
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 968123
People
(Reporter: rvitillo, Unassigned)
References
()
Details
(Keywords: power)
Attachments
(1 file)
(deleted),
text/html
|
Details |
FF has an high power usage on alipay as seen on the URL.
Reporter | ||
Comment 1•11 years ago
|
||
Yet another invisible spinning wheel activating the refresh driver.
Reporter | ||
Updated•11 years ago
|
Component: General → CSS Parsing and Computation
Product: Firefox → Core
Summary: High power consumption on alipay. → Invisible animated gif (in 'display:none' subtree) activates the refresh driver
Comment 2•11 years ago
|
||
I was pretty sure we have an existing bug on this, but I can't find it...
Component: CSS Parsing and Computation → ImageLib
Reporter | ||
Comment 3•11 years ago
|
||
Maybe you had in mind Bug 962594?
Comment 4•11 years ago
|
||
No, I was thinking about animated gifs specifically. I could also just be misremembering!
Comment 5•11 years ago
|
||
Hmm, looking at the code in nsImageLoadingContent I'm not sure how an animated image that never has a frame can get registered with the refresh driver.
Reporter | ||
Comment 6•11 years ago
|
||
(In reply to Timothy Nikkel (:tn) from comment #5)
> Hmm, looking at the code in nsImageLoadingContent I'm not sure how an
> animated image that never has a frame can get registered with the refresh
> driver.
After retrying with a clean profile with the latest Nightly the refresh driver doesn't get activated. Either this bug got fixed after the current release or something in my configuration skewed the power metrics.
Comment 7•11 years ago
|
||
Okay, thanks for re-testing. It's possible if maybe the same image was used in the same session (when it did get a frame) that maybe it didn't unhooked from the refresh driver? Toggling from display: something to display: none perhaps? Although that should work properly given the current code.
Reporter | ||
Updated•11 years ago
|
Summary: Invisible animated gif (in 'display:none' subtree) activates the refresh driver → Invisible animated gif activates the refresh driver
Reporter | ||
Comment 8•11 years ago
|
||
It seems that the real issue on that website comes from a covered background gif. The spinning wheel in the display:none subtree doesn't activate the refresh driver by itself. I am not quite sure how it did in the first place, I will keep digging.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•