W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: XMLHttpRequest.responseBlob

From: Thomas Broyer <t.broyer@gmail.com>
Date: Tue, 27 Apr 2010 01:19:56 +0200
Message-ID: <g2ga9699fd21004261619q2eac3624l98ab9c8b87d968b@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Michael Nordman <michaeln@google.com>, Darin Fisher <darin@chromium.org>, Web Applications Working Group WG <public-webapps@w3.org>
On Tue, Apr 27, 2010 at 1:11 AM, Jonas Sicking <jonas@sicking.cc> wrote:
>
> I'm not sure I understand how you envision the implementation working.
> You can't before hand know that the implementation won't ever access
> those properties (at least not without solving the halting problem).
> So you'll have to keep all the data in memory, just in case
> .reponseText is accessed.

Couldn't you stream to disk, and in case responseText or responseXML
is called then read back from disk? You'd then have to "keep all the
data in memory" only when .responseText is used.


-- 
Thomas Broyer
/tɔ.ma.bʁwa.je/
Received on Monday, 26 April 2010 23:20:52 GMT

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