Open
Bug 647826
Opened 15 years ago
Updated 3 years ago
Closing a loading image tab will cancel that image on other tabs
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
UNCONFIRMED
People
(Reporter: emmbugzilla, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.2a1pre) Gecko/20110403 Firefox/4.2a1pre
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.2a1pre) Gecko/20110403 Firefox/4.2a1pre
This is very easy to reproduce if the site in question is slow enough. Example:
Open http://apod.nasa.gov/apod/image/1104/STS134VAB_cooper900.jpg in one tab. While that is loading, open http://apod.nasa.gov/apod/ap110402.html in another tab. The image is contained within the page, and loads in lockstep.
Now close the image before it finishes loading. The load will be canceled, and with it the image will disappear from the HTML page until manual reload.
Note that this doesn't happen if you open the image itself two times (instead of image+page): the second image will wait until the first one is loaded (instead of loading in lockstep) and if the first one is closed the second one will resume (however it looks like the request is re-initiated, which would be suboptimal).
Reproducible: Always
Comment 1•15 years ago
|
||
This is a consequence of imagelib coalescing loads and reusing the existing channel for full-page images, which live in a loadgroup that's not under imagelib's control. Closing the tab correctly cancel's everything in that tab's loadgroup.
I suppose we could try to not coalesce with full-page images...
Component: Document Navigation → ImageLib
QA Contact: docshell → imagelib
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•