Closed
Bug 225972
Opened 21 years ago
Closed 21 years ago
GetMIMEInfoForExtensionFromDS returns success even if nothing was found
Categories
(Core Graveyard :: File Handling, defect, P1)
Core Graveyard
File Handling
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.6beta
People
(Reporter: Biesinger, Assigned: Biesinger)
References
()
Details
Attachments
(1 file, 1 obsolete file)
2.01 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
this should set rv to failure if !contentTypeNodeResource, or soemthing like that.
Comment 1•21 years ago
|
||
If !contentTypeNodeResource then shouldn't the rv for GetSource have been
NS_RDF_NO_VALUE?
![]() |
||
Comment 2•21 years ago
|
||
NS_RDF_NO_VALUE is a success code. See
http://lxr.mozilla.org/seamonkey/source/rdf/base/public/rdf.h#87
Comment 3•21 years ago
|
||
Ah, thanks for pointing that out. Many of the rdf idl descriptions say that
anything but NS_OK indicates failure, so I thought that applied here as well.
Assignee | ||
Comment 4•21 years ago
|
||
nallen: There are more success codes than NS_OK. In fact, about half of the
possible nsresults are success codes.
Assignee | ||
Comment 5•21 years ago
|
||
Assignee | ||
Comment 6•21 years ago
|
||
Comment on attachment 135735 [details] [diff] [review]
patch
this one is not sufficient...
Attachment #135735 -
Attachment is obsolete: true
Assignee | ||
Comment 7•21 years ago
|
||
well, I have _no_ idea why I removed this line (readded here in hunk 2). it was
kinda critical.
Assignee | ||
Comment 8•21 years ago
|
||
Comment on attachment 135737 [details] [diff] [review]
patch v2
bz, could I get r+sr? this should go in before the freeze...
Attachment #135737 -
Flags: superreview?(bz-vacation)
Attachment #135737 -
Flags: review?(bz-vacation)
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.6beta
![]() |
||
Comment 9•21 years ago
|
||
Comment on attachment 135737 [details] [diff] [review]
patch v2
Oops. ;) r+sr=bzbarsky.
Attachment #135737 -
Flags: superreview?(bz-vacation)
Attachment #135737 -
Flags: superreview+
Attachment #135737 -
Flags: review?(bz-vacation)
Attachment #135737 -
Flags: review+
Assignee | ||
Comment 10•21 years ago
|
||
thanks,
Checking in nsExternalHelperAppService.cpp;
/cvsroot/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp,v <--
nsExternalHelperAppService.cpp
new revision: 1.231; previous revision: 1.230
done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•