Closed Bug 152834 Opened 23 years ago Closed 22 years ago

When Viewing Images, "Stopped" appears on status bar

Categories

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

x86
All
defect

Tracking

()

RESOLVED FIXED
mozilla1.4beta

People

(Reporter: Biesinger, Assigned: Biesinger)

References

()

Details

Attachments

(1 file)

From bug 92947 comment 12: This seems to have caused "Stopped" to show when you're viewing an image (e.g. right-click on the mozilla banner and select "View Image"). this can only happen when onStateChange reveives an NS_ERROR_BINDING_ABORTED.
i'm going to guess that this is an imagelib bug... i know that it sometimes cancels HTTP loads when it discovers that it can just use its own cached copy. so i suspect this imagelib is somehow letting NS_BINDING_ABORTED "leak out."
Component: Networking: HTTP → ImageLib
This happens under Windows too. OS shouldn't be just Linux.
OS: Linux → All
Attachment #121029 - Flags: superreview?(darin)
Attachment #121029 - Flags: review?(pavlov)
taking
Assignee: darin → cbiesinger
Priority: -- → P1
Target Milestone: --- → mozilla1.4beta
Comment on attachment 121029 [details] [diff] [review] fix sr=darin
Attachment #121029 - Flags: superreview?(darin) → superreview+
Attachment #121029 - Flags: review?(pavlov) → review+
Comment on attachment 121029 [details] [diff] [review] fix This small makes it so that loading "standalone" images don't show "Stopped" in the statusbar if the image was loaded from the cache... would be nice to have in 1.4b.
Attachment #121029 - Flags: approval1.4b?
Status: NEW → ASSIGNED
Comment on attachment 121029 [details] [diff] [review] fix lxr for NS_BINDING_ABORTED, my gut tells me to check if anyone expecting it.
sspitzer: lxr'ing for that code shows that very few places check for that error code. Note that my change only affects code which uses nsImageDocument, as that's the only caller of LoadImageWithChannel. And I can't find a user of that checking explicitly for NS_BINDING_ABORTED, except nsBrowserStatusHandler.js which is the reason why I'm changing the error code.
Comment on attachment 121029 [details] [diff] [review] fix a=asa (on behalf of drivers) for checkin to 1.4b.
Attachment #121029 - Flags: approval1.4b? → approval1.4b+
Checking in public/ImageErrors.h; /cvsroot/mozilla/modules/libpr0n/public/ImageErrors.h,v <-- ImageErrors.h new revision: 1.2; previous revision: 1.1 done Checking in src/imgLoader.cpp; /cvsroot/mozilla/modules/libpr0n/src/imgLoader.cpp,v <-- imgLoader.cpp new revision: 1.70; previous revision: 1.69 done
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
QA Contact: tever → tpreston
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: