Open
Bug 812089
Opened 12 years ago
Updated 1 year ago
Component.results does not list nsresults deried from NSPR/NSS PRErrorCodes
Categories
(Core :: XPConnect, enhancement)
Core
XPConnect
Tracking
()
REOPENED
People
(Reporter: briansmith, Unassigned)
References
(Blocks 1 open bug)
Details
PSM maps SEC_* and SSL_* PRErrorCodes to nsresults using a mathematical formula NS_ERROR_GENERATE(FAILURE, NS_ERROR_MODULE_SECURITY, -x) where x is the PRErrorCode.
We should expose all of these error codes through Component.results so that JS-based modules (e.g. toolkit/identity/*.js) and JS-based tests can refer to them using their symbolic names. I suggest we expose them as NS_ERROR_<name> where <name> is the PRErrorCode name (e.g. NS_ERROR_SEC_ERROR_UNTRUSTED_ISSUER, for SEC_ERROR_UNTRUSTED_ISSUER).
Comment 1•7 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
Updated•7 years ago
|
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
Updated•2 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Blocks: nss-external
You need to log in
before you can comment on or make changes to this bug.
Description
•