Closed Bug 342259 Opened 18 years ago Closed 18 years ago

Make nsConsoleMessage implement nsIException for real exceptions

Categories

(Core :: XPCOM, enhancement)

1.8 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX
mozilla1.8.1beta2

People

(Reporter: Gijs, Assigned: Gijs)

References

(Blocks 1 open bug, )

Details

 
OK, typing one-handedly and hitting Enter at the wrong time in Bugzilla is asking for trouble. Trying again:

It'd be nice if one could QI nsIConsoleMessages to nsIExceptions in order to get more data on what's going on. Specifically, in order to figure out what document the error is about.

See the URL.
Blocks: 338978
Summary: Make nsConsole → Make nsConsoleMessage implement nsIException for real exceptions
the stack trace parts of the nsIException would also be interesting
Blocks: 228205
Agreed, the stack trace and document context are the most important pieces of this right now.

(I don't think this necessarily blocks 228205, but that's definitely more right than the other way around!)
Confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OK, so after lengthy debate & discussion, this ain't going to roll. If you look at the URL, plan B is where things are headed to. Marking WONTFIX. If anyone else wants to have a go, they can, but should be prepared to fight timeless and probably other people in doing something that tries to solve bug 228205's trouble internally, without solving bug 228205 itself. I'm not morphing this bug since plan B doesn't really need a bug here at all.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.