We’ve decided to put some of our technical tricks and tips online to serve as a resource.
If you’re getting a problem something like this in Firefox (Mozilla):-
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]“Â nsresult: “0×80004005 (NS_ERROR_FAILURE)“Â location: “JS frame :: file:///C:/path/path/path/path/filename.js :: someMethod :: line 888″Â data: no]
when you call the send() method on an XMLHttpRequest (XMLHttpRequest.send()), it’s possibly a browser security issue. Remember that by default browser-based JavaScript scripts and apps only allow requests to the same domain that the original page came from.
In particular this may be an issue if you’re testing scripts on your local hard drive.
There are ways around this, but that’s the basic problem.
(Edited 16 Jun 2010)







