Re: Fwd: File Upload Status ?

On Fri, Aug 8, 2008 at 2:28 PM, Jonas Sicking <jonas@sicking.cc> wrote:
> Garrett Smith wrote:


> Sounds like your usecase is a good one, please file a bug to get this
> implemented in firefox.
>

Done:
https://bugzilla.mozilla.org/show_bug.cgi?id=449880

>
> Not depending on HTML i suspect. But that's a guess.
>
> In general I definitely support having the File object specified. Not sure
> how big of a fan I am of the other parts of the current spec though. But I
> don't have very strong feelings either way as of yet.
>

The 'files-selected' Event and FilesSelectionEvent Interface:
 * Seems unnecessary. The change event can do just fine there. The
file object can grab event.target and get the FileList off that, e.g.
e.target.files. Can this be removed from the API?

FileDialog:
 * Are there strong reasons for keeping FileDialog? The FileDialog
interface can always be added on later in another version. The feature
seems to need some security aspects to address the DoS issue Jonas
brought up.

Integration with XMLHttpRequest
  * If an XMLHttpRequest is going to accept a File, then ideally it
would provide an easy way to detect this feature. This seems to be a
feature for XHR. For here, an example should suffice (when the XHR
spec includes the functionality).

Garrett

> / Jonas
>
>

Received on Friday, 8 August 2008 22:15:26 UTC