W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2007

[whatwg] Offline Web Apps

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 22 Sep 2007 01:13:55 +0200
Message-ID: <op.ty01hhrq64w2qv@annevk-t60.oslo.opera.com>
On Sat, 22 Sep 2007 01:07:23 +0200, Maciej Stachowiak <mjs at apple.com>  
> It would be nice if this was designed to handle the possibility of  
> multiple file selection (which I think Web Forms 2 enables).

It does actually. There's a fileList attribute on HTMLInputElement that  
returns a FileList.

>> It'd be possible to extend this to avoid bringing these files into
>> memory.  We'd just need globalStorage (or something like it) to
>> accept/return nsIDOMFile objects, and a way for XHR to send them.
> Sounds reasonable. I'd love to see a rough cut at a spec for this.

XMLHttpRequest level 2 supports sending ByteArray. So you could do  
something like the following maybe:


Although if HTML5 gains a native File object I suppose support for that  
could be added as well if there's any benefit.

Anne van Kesteren
Received on Friday, 21 September 2007 16:13:55 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:57 UTC