Closed Bug 574452 Opened 14 years ago Closed 14 years ago

Exception fills my Error Console: (NS_NOINTERFACE) [nsISupports.QueryInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)"

Categories

(DevTools :: General, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: marcia, Assigned: timeless)

References

Details

Attachments

(1 file)

Seen while running Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.3a6pre) Gecko/20100624 Minefield/3.7a6pre

STR:
1. Tools | Heads up Display
2. Reload a bug

This shows in the Error console repeatedly:

Error: [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]"  nsresult: "0x80004002 (NS_NOINTERFACE)"  location: "JS frame :: resource://gre/modules/HUDService.jsm :: HCO_observe :: line 3294"  data: no]
Source File: resource://gre/modules/HUDService.jsm
Line: 3294

When I try to clear the console, one of these instances remains and cannot be cleared.
Summary: Exception fills up my Error Console: (NS_NOINTERFACE) [nsISupports.QueryInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" → Exception fills my Error Console: (NS_NOINTERFACE) [nsISupports.QueryInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)"
Version: unspecified → Trunk
There are some exceptions being thrown in the flow control of the network observer than need to be noop'd here.
OS: Mac OS X → All
Blocks: 529086
Looks like we are trying to QI to an nsIScriptError and are failing. Need to wrap with try.
3293     if (aSubject instanceof Ci.nsIConsoleMessage) {
3294       var err = aSubject.QueryInterface(Ci.nsIScriptError);

Looks to me like this justs want to change the instanceof check to be for nsIScriptError, and remove the QI.
Attached patch patchSplinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #456354 - Flags: review?(gavin.sharp)
Attachment #456354 - Flags: review?(gavin.sharp) → review+
http://hg.mozilla.org/mozilla-central/rev/f97c5328098b
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: