[whatwg/xhr] Don't fire "progress" event for sync XHR (#208)

Only fire a "progress" event during "handle response end-of-body" for
asynchronous XHR. This matches existing browser behaviour.

Test at https://github.com/w3c/web-platform-tests/pull/10887.

Closes #207.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/xhr/pull/208

-- Commit Summary --

  * Don't fire "progress" event for sync XHR

-- File Changes --

    M xhr.bs (2)

-- Patch Links --

https://github.com/whatwg/xhr/pull/208.patch
https://github.com/whatwg/xhr/pull/208.diff

-- 
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/pull/208

Received on Tuesday, 8 May 2018 10:17:18 UTC