Closed
Bug 298053
Opened 19 years ago
Closed 19 years ago
directoryservice.nsIProperties.has("nonexistant") should return false instead of throwing an exception
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mcsmurf, Assigned: timeless)
References
()
Details
Attachments
(1 file)
657 bytes,
patch
|
dougt
:
review+
asa
:
approval1.8b3+
|
Details | Diff | Splinter Review |
Get a nsIProperties instance (here
Components.classes["@mozilla.org/file/directory_service;1"].getService(nsIProperties);).
Then prop.has("XYZ") always seems to return NS_ERROR_FAILURE. See URL for how it
is supposed to work.
Reporter | ||
Updated•19 years ago
|
Summary: nsIProperties.has returns NS_ERROR_FAILURE → directoryservice.nsIProperties.has("nonexistant") should return false instead of throwing an exception
Updated•19 years ago
|
Attachment #186645 -
Flags: review?(dougt) → review+
Reporter | ||
Updated•19 years ago
|
Attachment #186645 -
Flags: approval1.8b3?
Updated•19 years ago
|
Attachment #186645 -
Flags: approval1.8b3? → approval1.8b3+
Reporter | ||
Comment 2•19 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•