This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

var xhr = new XMLHttpRequest(); xhr.open("POST", url,false); working in chrome but not in mozilla 5.0 i am get error "[Exception... "<no message>" nsresult"

  • 1 tontu
  • 1 am na jafe-jafe bii
  • 6 views
  • i mujjee tontu mooy guigs

more options

while uploading a file i am getting below error

[Exception... "<no message>" nsresult: "0x805e0006 (<unknown>)" location: "JS frame :<TOP_LEVEL> :: line 80" data: no]

but the same works in chrome

here is the java script code


 var xhr = new XMLHttpRequest();
 xhr.open("POST", url,false);
while uploading a file i am getting below error [Exception... "<no message>" nsresult: "0x805e0006 (<unknown>)" location: "JS frame :<TOP_LEVEL> :: line 80" data: no] but the same works in chrome here is the java script code var xhr = new XMLHttpRequest(); xhr.open("POST", url,false);

All Replies (1)

more options

HI johibkhan.

I think you have to update Firefox the call you are using needs 12 or higher: "Gecko 12.0 (Firefox 12.0 / Thunderbird 12.0 / SeaMonkey 2.9) and later support using XMLHttpRequest to read from data: URLs." https://developer.mozilla.org/en-US/d.../XMLHttpRequest

But also keep in mind we have developers dedicated to answering questions like this in the Firefox section of stackoverflow.com as well :-) You might get a faster/more accurate response.

guigs moo ko soppali ci