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

Re: New FileAPI Draft | was Re: FileAPI feedback

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 06 Aug 2009 11:35:31 +0200
To: "Gregg Tavares" <gman@google.com>
Cc: arun@mozilla.com, "Dmitry Titov" <dimich@chromium.org>, "Web Applications Working Group WG" <public-webapps@w3.org>
Message-ID: <op.ux8h9hqi64w2qv@anne-van-kesterens-macbook.local>
On Thu, 06 Aug 2009 10:53:31 +0200, Gregg Tavares <gman@google.com> wrote:
> On Thu, Aug 6, 2009 at 12:48 AM, Anne van Kesteren <annevk@opera.com>  
> wrote:
>> XHR does not do local data. It also does not do raw file data very well.
> I don't quite understand this comment. Isn't the point of these  
> discussions how to extend browsers and HTML? XHR was just extended to  
> support cross-site requests and new properties were added. Couldn't it  
> be extended again to
> support local files (through the "filedata:" url system) and as well to
> support raw data?

Sorry, it indeed could be extended in that way. I just think it is a bad  
idea. XMLHttpRequest provides an almost complete HTTP API and such a thing  
is completely different and way more complex than what is needed to read  
files from disk. In addition XMLHttpRequest is quite complex and  
overloading the whole object and all its members with this functionality  
is not worth saving a few members on the File/FileData objects.

Anne van Kesteren
Received on Thursday, 6 August 2009 09:36:22 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:18 UTC