W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: Streams and Blobs

From: Anne van Kesteren <annevk@annevk.nl>
Date: Fri, 15 Mar 2013 12:33:28 +0000
Message-ID: <CADnb78iMzp0NsRzviF1GC0QOXcwgqqZ2YWNuMr7P38SqHWPDvg@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: WebApps WG <public-webapps@w3.org>
On Fri, Mar 15, 2013 at 10:07 AM, Jonas Sicking <jonas@sicking.cc> wrote:
> For a sync XHR in Workers, if .responseType is set to "stream" when
> XHR.send() is called, we block until the HEADERS_RECEIVED state is
> reached. At that point we return from the .send() function and return
> a newly constructed Stream object. Note that reading from the Stream
> object should likely not be permitted synchronously, even within
> workers. So all that's synchronous here is waiting until we reach the
> HEADERS_RECEIVED state.

I think this is very weird. XMLHttpRequest governs network transfers.
If XMLHttpRequest just terminates at that point, something is missing.


-- 
http://annevankesteren.nl/
Received on Friday, 15 March 2013 12:33:56 GMT

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