Re: [whatwg] [XHR] changes in abort() steps

Correction in the code snippet inline.

> -----Original Message-----
> From: whatwg-bounces@lists.whatwg.org [mailto:whatwg-
> bounces@lists.whatwg.org] On Behalf Of Jungkee Song
> Sent: Friday, September 13, 2013 2:43 PM
> To: Anne van Kesteren; whatwg@lists.whatwg.org
> Subject: [whatwg] [XHR] changes in abort() steps
> 
> Hi Anne,
> 
> In the recent change in abort() steps [1], is it intended to NOT change
> the state to UNSENT for an ongoing (the send() flag set) request? It's
> observed that Chrome, Firefox, IE all set it to UNSENT. Also, a few test
> cases in W3C tests have assertions on it:
> 
> request.send();
> request.abort();
> request.assert_true(client.readyState, 0); // UNSENT
> 
> 
> [1]
> https://github.com/whatwg/xhr/commit/9b57f112dba4d135986d956b41109607dd908
> 27
> 3
> 
> 
> --
> Jungkee Song

Received on Friday, 13 September 2013 05:47:57 UTC