Closed Bug 25360 Opened 25 years ago Closed 25 years ago

need to check channel for errors after NS_OpenURI().

Categories

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

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: pnunn, Assigned: neeti)

References

Details

make changes so channel is checked for error after NS_OpenURI() for images. -pn notes from email conversion with valeski: P:Let's say someone requests a nonexistant image file. Shouldn't I get back an error from NS_OpenURI() for that file? V:None of the NS_OpenURI() forms will return failure if the file DNE. They are simply util functions that give you a channel that you can read/write on (or kick the "load" off). Regardless, we are currently pushing the 404 html out as the URL data and not indicating error. To handle this case you can get teh Response code from the channel and error out if it's 404.
Status: NEW → ASSIGNED
Target Milestone: M14
Blocks: 24778
Neeti is following up on this one. Reassigning. -p
Assignee: pnunn → neeti
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Checked in a fix.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Pam, would you like to verify this, or shall I rubber-stamp without inspection? Thanks!
I will testify.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.