From: http://helpful.knobs-dials.com/index.php/%22Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE)%22
This happens when you have a XMLHttpRequest onerror handler in which you tried to read the result's status (or statusText) when that value is not available, usually meaning it was broken off, or it failed in a specific way.
The W3 specs tell you that you shouldn't try to read status in the onerror handler because for some
problems it may not be set, and that in this case an error must (!) be
raised.
This error is specific to Gecko (Firefox, Mozilla) because it adheres
to those specs closer than most other browsers. The Gecko specs also
tell you not to do this (...as I recall, I can't actually find it right
now).
The cause is often that the browser never got a reponse
with a HTTP status to parse out, for example via requests that are
broken off on the client, a connection that broke because of some
connectivity problem, and sometimes a (seriously) malformed server
response.
The problem can also occur when AJAX is canceled by page
unload, e.g. when you trigger AJAX from a form that also causes a
page-reload-style submission (often a form with a submit