Closed
Bug 253127
Opened 21 years ago
Closed 16 years ago
xpconnect error report should be quieted for some results
Categories
(Core :: XPConnect, enhancement)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: vlad, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [firebug-p3])
In a few cases, a js object throwing an error should not cause "* Call to
xpconnect wrapped JSObject ..." spam. nsIInterfaceRequestor's getInterface
method uses NS_NOINTERFACE (NS_ERROR_NO_INTREFACE?) to indicate that it can't
provide the requested interface.. this causes a lot of spam for, say,
nsIChannel's notificationCallbacks implemented in JS, as they're asked whether
they implement a number of different intrefaces.
vlad: i converted QI impls to use Components.returnCode. some people seemed to be willing to
whitelist QI, but GI and others of course have the same behavior...
do you have a plan?
Updated•19 years ago
|
QA Contact: pschwartau → xpconnect
Updated•19 years ago
|
Hardware: PC → All
Comment 2•19 years ago
|
||
*** Bug 347310 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
Version: Trunk → 1.8 Branch
Updated•19 years ago
|
Assignee: dbradley → nobody
Comment 3•17 years ago
|
||
This bug gives a steady stream of bogus error messages that cannot be prevented. In my book that's more than "min" so I've changed it to encourage someone to fix it.
Severity: minor → normal
Whiteboard: [firebug-want]
Comment 4•17 years ago
|
||
Is this still an issue on trunk? I watch console output on my debug builds, and I don't see excessive amounts of output from thrown exceptions (although they do happen now and then).
Bug 393627 et al added some code to suppress thrown exceptions in some cases; I'm not clear if there was more work pending from that effort or not. Feels like we should either mark this as FIXED or break it out into the specific exception cases that need additional special-casing.
Severity: normal → enhancement
Whiteboard: [firebug-want] → [firebug-p3]
Comment 5•17 years ago
|
||
Using a quick test based on http://code.google.com/p/fbug/issues/detail?id=434 with FF3.0b4pre, the messages are trapped by catch and don't come out on the consoleService.
Comment 6•17 years ago
|
||
Note that bug 393627 regressed reporting of errors in certain cases (see f.e. bug 415498), so I'd hesitate to resolve this bug fixed until those regressions get resolved and their fix doesn't reintroduce the issues here.
Comment 7•17 years ago
|
||
That issue has a separate bug, we can REOPEN this if it regresses. Put a unit or mochi test in, and you'll be sure. :) I'm boldly agreeing with Justin.
Comment 8•17 years ago
|
||
(In reply to comment #6)
> Note that bug 393627 regressed reporting of errors in certain cases (see f.e.
> bug 415498), so I'd hesitate to resolve this bug fixed until those regressions
> get resolved and their fix doesn't reintroduce the issues here.
I've filed a fix for bug 415498, that won't regress bug 393627. This may safely be dupped to bug 393627.
Comment 9•16 years ago
|
||
this is still showing "new". I'm marking RESO FIXED as per comments #4 and #7.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•