W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: New FileAPI Draft | was Re: FileAPI feedback

From: Arun Ranganathan <arun@mozilla.com>
Date: Wed, 05 Aug 2009 03:47:27 -0500
Message-ID: <4A79471F.4@mozilla.com>
To: Gregg Tavares <gman@google.com>
CC: Web Applications Working Group WG <public-webapps@w3.org>
Gregg Tavares wrote:
> I'd really like to contribute to this as I'm helping implement WebGL and we
> need a way to get LOTS of data into WebGL. Hundreds of files per app.
>
> That said, there's a bunch of things I don't understand about the API
>
> *) Given that XMLHttpRequest is limited to a same domain policy 
Firefox 3.5 and Safari 4 support cross-domain XMLHttpRequest, mitigated 
by CORS.  See, for example, 
http://hacks.mozilla.org/2009/07/cross-site-xmlhttprequest-with-cors/
> but the img
> tag, audio tag, video tag, script tag and others are not, how do you resolve
> that with the FIle API?
>   
The File API is meant to talk to your local file system.  It isn't a 
"network download" API, but it seems that's what you want :-).  Perhaps 
I am misunderstanding your question?

-- A*
Received on Wednesday, 5 August 2009 08:48:09 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:33 GMT