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

On Fri, Sep 13, 2013 at 6:42 AM, Jungkee Song <jungkee.song@samsung.com> wrote:
> In the recent change in abort() steps, 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]);

Good catch! I totally missed abort() would always end up in UNSENT.
Tried to make that clearer by appending " first" to "Otherwise, run
these substeps".


-- 
http://annevankesteren.nl/

Received on Friday, 13 September 2013 08:36:05 UTC