Closed Bug 493142 Opened 16 years ago Closed 16 years ago

Uncaught exception: NS_ERROR_FAILURE nsIDOMLocation.host

Categories

(addons.mozilla.org Graveyard :: Collections, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
BW-1.0.3

People

(Reporter: stephend, Assigned: mackers)

Details

I need to figure out how to reproduce this, but I have a couple (duplicate) entries of: Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMLocation.host]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://bandwagon/content/ui/overlays/browserOverlayController.js :: anonymous :: line 86" data: no] in my Error Console. I'm using 0.4 on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.1b5pre) Gecko/20090514 Shiretoko/3.5b5pre
Hmm. The extension only accepts refresh events on $amo_host, hence the check for location.host. This error might be caused by cases where the loaded document doesn't have a location (dynamically created from javascript?). Anyway, I've put some more error checking in so this exception shouldn't occur. r25775 Please close.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Verified FIXED; haven't yet seen this re-occur, and I was seeing it every day (just couldn't figure out how to get it into this state).
Status: RESOLVED → VERIFIED
Sadly, seeing this again: Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMLocation.host]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://bandwagon/content/ui/overlays/browserOverlayController.js :: anonymous :: line 86" data: no]
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
I saw it to during about:config browsing. I'll just catch the exception and fail silently. We don't care about these errors. r27488
(In reply to comment #4) > I saw it to during about:config browsing. > > I'll just catch the exception and fail silently. We don't care about these > errors. > > r27488 Given that we now catch this, and that Dave thinks this is not a bug and we need not worry about the error, I'll close this off.
Assignee: nobody → dave
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
Target Milestone: --- → BW-1.0.3
Verified FIXED; I no longer see this in the 1.03 extension.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.