Join the AMA (Ask Me Anything) with Firefox leadership team to talk about Firefox priorities in 2024. Mark your calendar! Thursday, June 13, 17:00 - 19:00 UTC.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

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

  • 2 odpowiedzi
  • 3 osoby mają ten problem
  • 3 wyświetlenia
  • Ostatnia odpowiedź od 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?

Wybrane rozwiązanie

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.

Przeczytaj tę odpowiedź w całym kontekście 👍 2

Wszystkie odpowiedzi (2)

more options

Wybrane rozwiązanie

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.