Open Bug 785231 Opened 13 years ago Updated 3 years ago

Images should wait for the discard timer when being removed from the document

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

Details

Right now, nsImageLoadingContent::UnbindFromTree can trigger synchronous image discarding (and a synchronous callback to nsImageLoadingContent::OnDiscard) As khuey noted in bug 785191 comment 7, we should change that to use the discard timer.
attachment 654760 [details] shows one instance of this, FWIW. (It's possible that discarding only ends up being synchronous for "moz-icon://.html" images, perhaps because we've got permanent internal copies of those images or something. I'm not sure, that's just the only place I've encountered it.)
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.