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

Re: [File API] events vs callbacks

From: Jonas Sicking <jonas@sicking.cc>
Date: Wed, 12 Aug 2009 11:09:20 -0700
Message-ID: <63df84f0908121109q2092b42brb88b03fe33857012@mail.gmail.com>
To: Anne van Kesteren <annevk@opera.com>
Cc: Olli Pettay <Olli.Pettay@helsinki.fi>, arun@mozilla.com, Web Applications Working Group WG <public-webapps@w3.org>
On Wednesday, August 12, 2009, Anne van Kesteren <annevk@opera.com> wrote:
> On Tue, 11 Aug 2009 22:57:51 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
>> xhr.open("GET", myFile.slice(x, y).fileDataURI);
>> xhr.send();
>
> FWIW I'm opposed to abusing XMLHttpRequest in this way and I actually think that when using the filedata URL scheme some kind of exception needs to be thrown. Similarly to when you would use mailto or something.

Why?

/ Jonas
Received on Wednesday, 12 August 2009 18:10:01 GMT

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