Open Bug 1008075 Opened 11 years ago Updated 2 years ago

Imagelib discards partial image on network failures

Categories

(Core :: Graphics: ImageLib, defect)

defect

Tracking

()

People

(Reporter: bagder, Unassigned)

References

Details

If there's a network error reported to imgRequest::OnStopRequest() it will throw away the existing (partially downloaded) image and instead render the "no image found" symbol. The current work for Bug 237623 intends to fix this behavior for the situation where a network transfer is detected "partial", but it seems we should expand the check and allow the code to keep a partial image to get shown for more (network) errors that can potentially happen. The effect is particularly disturbing if almost the entire picture has been downloaded and/or if the transfer is very slow. I suggest we expand the check added in Bug 237623 to also check for these errors and allow them to show partial images: NS_ERROR_NET_TIMEOUT NS_ERROR_NET_RESET NS_ERROR_NET_INTERRUPT
Depends on: 237623
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.