Export to GitHub

noswfupload - issue #10

Important! noswfupload incompatible with Firefox 7


Posted on Oct 5, 2011 by Happy Horse

The script uses an obsolete object in Firefox 7, which is now deprecated. Note: This script no longer works in firefox.

Please see here for reasons why:

https://developer.mozilla.org/en/Firefox_7_for_developers

Deprecated object and methods used:

"The File interface's non-standard methods getAsBinary(), getAsDataURL(), and getAsText() have been removed as well as the non-standard properties fileName and fileSize."

https://developer.mozilla.org/en/DOM/File

"Note: The File object as implemented by Gecko offers several non-standard methods for reading the contents of the file. These should not be used, as they will prevent your web application from being used in other browsers, as well as in future versions of Gecko, which will likely remove these methods."

(Note: Gecko includes Firefox)

The method getAsBinary() is also deprecated which the script uses.

Comment #1

Posted on Nov 7, 2011 by Happy Panda

Hi there, Does there exist alternative JS-methods for these deprecated ones?

Comment #2

Posted on Nov 7, 2011 by Happy Horse

Yes the object and methods that replace the deprecated ones can be researched here:

https://developer.mozilla.org/en/DOM/FileReader

I don't know for sure but assume most browsers have access to that object and it's methods. (Could be wrong.)

Status: New

Labels:
Type-Defect Priority-Medium