Re: [whatwg/xhr] send() flag not unset in open() - send() - open() call sequence (#94)

To fix both issues and be in-line with browser behavior, perhaps this would work for abort():

```
1. Let sent be the state of the send() flag.

2. Terminate the request.
// This unsets the send() flag

3. Unset the request URL
// To detect a call to open() during the next step

4. If state is either opened with sent set, headers received, or loading, run the request error steps for event abort.

3. If the request URL is unset, set state to unsent.
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/issues/94#issuecomment-253848247

Received on Friday, 14 October 2016 16:14:45 UTC