Error: [Exception... "Component returned failure code: 0x80040111
(NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult:
"0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::
http://localhost/js/common.js :: processReqChange :: line 65" data:
no]
Source File: http://localhost/js/common.js
Line: 65
The function that creates an XMLHttpRequest object and loads the XML
document is called loadXML (taken from
http://developer.apple.com/internet/webcontent/xmlhttpreq.html)
I solved the problem by wrapping the call to the loadXML function in
setTimeout("loadXMLDoc('"+url+"')", 0);
I don't know why it happened or why this worked, but this solved my
problem.
I hope this is useful to somebody with the same problem.