Re: Streams and Blobs

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 UTC