Closed Bug 743121 Opened 12 years ago Closed 6 years ago

Components.Exception user data field turns JS Objects into nsISupports WNs

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: bholley, Unassigned)

Details

STR:

var foo = Components.Exception('message', Components.results.NS_ERROR_FAILURE, null, {a: 42});

At this point, accessing foo.data just gives a raw nsISupports. It would be better if it could be smart, and at least give a double-wrapped object with a .wrappedJSObject property.

I don't plan on fixing this any time soon, but I wanted to have a bug on file.
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: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.