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)
Tracking
()
RESOLVED
FIXED
mozilla1.4beta
People
(Reporter: Biesinger, Assigned: Biesinger)
References
()
Details
Attachments
(1 file)
|
2.41 KB,
patch
|
pavlov
:
review+
darin.moz
:
superreview+
asa
:
approval1.4b+
|
Details | Diff | Splinter Review |
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.
Comment 1•23 years ago
|
||
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
| Assignee | ||
Updated•22 years ago
|
OS: Linux → All
| Assignee | ||
Comment 3•22 years ago
|
||
presumable this line is causing this bug:
http://lxr.mozilla.org/seamonkey/source/modules/libpr0n/src/imgLoader.cpp#572
| Assignee | ||
Comment 4•22 years ago
|
||
| Assignee | ||
Updated•22 years ago
|
Attachment #121029 -
Flags: superreview?(darin)
Attachment #121029 -
Flags: review?(pavlov)
| Assignee | ||
Comment 5•22 years ago
|
||
taking
Assignee: darin → cbiesinger
Priority: -- → P1
Target Milestone: --- → mozilla1.4beta
Comment 6•22 years ago
|
||
Comment on attachment 121029 [details] [diff] [review]
fix
sr=darin
Attachment #121029 -
Flags: superreview?(darin) → superreview+
Updated•22 years ago
|
Attachment #121029 -
Flags: review?(pavlov) → review+
| Assignee | ||
Comment 7•22 years ago
|
||
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?
| Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Comment 8•22 years ago
|
||
Comment on attachment 121029 [details] [diff] [review]
fix
lxr for NS_BINDING_ABORTED, my gut tells me to check if anyone expecting it.
| Assignee | ||
Comment 9•22 years ago
|
||
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 10•22 years ago
|
||
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+
| Assignee | ||
Comment 11•22 years ago
|
||
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
You need to log in
before you can comment on or make changes to this bug.
Description
•