cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I keep receiving failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindow.content] everytime I load a new HTML5 page.

Highlighted
New User

Why do I keep receiving failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindow.content] everytime I load a new HTML5 page.

Every time I try to load an HTML5 webpage in Firefox 15.0.1 I get the "Error: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindow.content] Source File: Line: 231" message. I checked the documentation at https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIDOMWindow and it doesn't even show that this object HAS a "content" attribute. I have no idea what is causing this error since there is no module referenced, just the above source file line number. I checked the webpages being loaded and they don't even have line numbers 231 that I can detect.

The webpages seem to load and function correctly, but it is a nuisance to keep getting this error. Yes, I have a lot of extensions and add-ons in my Firefox, but since no module is ever referenced in the error message, I can only guess that the problem is in the basic Firefox core.

Thanks to anyone who can shed some light on the cause of this error.

3 REPLIES
SUMO Contributor

Re: Why do I keep receiving failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindow.content] everytime I load a new HTML5 page.

Is the page online so others could take a look?

Have you tried testing in a clean profile? Switching between profiles is a bit of a pain, but it would give you a quick view of an uncustomized installation (well, it will have your plugins).

Close Firefox and start up in the Profile Manager as described in Use the Profile Manager to create and remove Firefox profiles. Any time you want to switch profiles, close Firefox and return to this dialog.

Site Moderator

Re: Why do I keep receiving failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindow.content] everytime I load a new HTML5 page.

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).

  • Do not click the Reset button on the Safe mode start window or otherwise make changes.
New User

Re: Why do I keep receiving failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindow.content] everytime I load a new HTML5 page.

I kept getting this error from a page I created. I used a <div id="content" > and then used JavaScript to build the content.

nsIDOMWindow.content error went away when I changed my div id

<div id="contentDiv" >

Well, another day and the same error shows up when my primary window opens a child window. I close the child and open again, then 2 nsIDOMWindow.content errors; close child and open child again and then 3 nsIDOMWindow.content errors...