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

Re: [File API] events vs callbacks

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 12 Aug 2009 13:40:34 +0200
To: "Jonas Sicking" <jonas@sicking.cc>, "Olli Pettay" <Olli.Pettay@helsinki.fi>
Cc: arun@mozilla.com, "Web Applications Working Group WG" <public-webapps@w3.org>
Message-ID: <op.uyjr1wic64w2qv@annevk-t60>
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.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Wednesday, 12 August 2009 11:41:36 GMT

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