Closed Bug 1329377 Opened 8 years ago Closed 7 years ago

DoS using CSS animation and large images

Categories

(Core :: Graphics: ImageLib, defect, P3)

53 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1370412
Tracking Status
firefox53 --- affected

People

(Reporter: TD-Linux, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: gfx-noted)

The site listed (source here: https://github.com/firefox-is-a-good-browser/firefox-is-a-good-browser.github.io) uses a large amount of memory and CPU, which persists when the tab is closed. The relevant part seems to be the following CSS: a { display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); animation: a 1s ease-in-out 0s infinite alternate; opacity: .99; background: #fff url("data:image/jpeg;base64,--ommitted--") center/100% 100% } where the jpeg is actually a 10000x10000 png (that displays fine in firefox). My wild guess is that the animation is creating frames faster than layers can consume them, but I haven't looked into it.
This looks to be a very bad case of bug 1243446/bug 1139928.
Component: Layout → ImageLib
Whiteboard: gfx-noted
Depends on: 1243446, 1139928
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.