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)
Tracking
()
VERIFIED
FIXED
M14
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.
Neeti is following up on this one. Reassigning. -p
Assignee: pnunn → neeti
Status: ASSIGNED → NEW
Checked in a fix.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 3•25 years ago
|
||
Pam, would you like to verify this, or shall I rubber-stamp without inspection? Thanks!
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•