Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

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 个回答
  • 1 人有此问题
  • 6 次查看
  • 最后回复者为 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);

所有回复 (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于修改