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

Jungkee Song jungkee.song at samsung.com
Thu Sep 12 22:46:38 PDT 2013


Correction in the code snippet inline.

> -----Original Message-----
> From: whatwg-bounces at lists.whatwg.org [mailto:whatwg-
> bounces at lists.whatwg.org] On Behalf Of Jungkee Song
> Sent: Friday, September 13, 2013 2:43 PM
> To: Anne van Kesteren; whatwg at 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




More information about the whatwg mailing list