[whatwg/xhr] "To handle response end-of-body for response, ru..." (#116)

https://xhr.spec.whatwg.org/commit-snapshots/6f00242cd8ad1037d88fd2521db901fab5758160/#handle-response-end-of-file

> To handle response end\-of\-body
> for response, run these steps:​
> 
>     If the synchronous flag is set, set response to response\.
> 
>     Handle errors for response\.
> 
>     If response is a network error, return\.
> 
>     If the synchronous flag is unset, update response’s body using response\.
> 
>     Fire a progress event named progress with transmitted and length\. 

*transmitted* and *length* are not defined before step 5 of the algorithm, and instead is only defined later in step 9 and 10. Should we move the two steps up to step 4 and 5?

-- 
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/116

Received on Saturday, 18 February 2017 22:47:09 UTC