W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2013

Re: [whatwg] Fetch: number of tasks queued

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 13 Mar 2013 15:36:38 +0000
Message-ID: <CADnb78hFdCxSL1s2GA6AFQkF6LtZFPzpOhfUsm+pidv6W4paQw@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: whatwg@lists.whatwg.org
On Wed, Mar 13, 2013 at 3:32 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> What exact behavior are you proposing for the XHR implementation when it
> gets the callbacks described above?  It sure sounds to me like you're
> presupposing that the "some data available" callbacks indicate whether there
> might be _more_ data available in the future or not, unless I'm missing
> something.

Currently the XMLHttpRequest specification only has a single
readystatechange event to switch to 3. This matches some set of
browsers and may or may not match Gecko these days (certainly did not
in the past). Other network tasks before the final one result in
progress events.


-- 
http://annevankesteren.nl/
Received on Wednesday, 13 March 2013 15:37:05 GMT

This archive was generated by hypermail 2.3.1 : Wednesday, 13 March 2013 15:37:05 GMT