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!

ค้นหาฝ่ายสนับสนุน

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

method file.getAsBinary works fine in Firefox3.6, but not Firefox8

  • 2 การตอบกลับ
  • 3 คนมีปัญหานี้
  • 1 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย yffqcy

more options

I use javascript method file.getAsBinary for file uploading. It works fine in firefox3.6, but it doesn't work in firefox8. Does anybody know how to solve this or any method to replace file.getAsBinary in firefox8?

I use javascript method file.getAsBinary for file uploading. It works fine in firefox3.6, but it doesn't work in firefox8. Does anybody know how to solve this or any method to replace file.getAsBinary in firefox8?

วิธีแก้ปัญหาที่เลือก

That method was removed, as per this Bugzilla page: 661876 – Kill obsolete nsIDOMFile properties/methods. Apparently the FileReader (link to MDN) object is the new recommended way to read a file.

อ่านคำตอบนี้ในบริบท 👍 2

การตอบกลับทั้งหมด (2)

more options

วิธีแก้ปัญหาที่เลือก

That method was removed, as per this Bugzilla page: 661876 – Kill obsolete nsIDOMFile properties/methods. Apparently the FileReader (link to MDN) object is the new recommended way to read a file.