whatwg / xhr

XMLHttpRequest Standard
https://xhr.spec.whatwg.org/
Other
314 stars 129 forks source link

Handle error while reading response body in synchronous XHR #314

Closed yutakahirano closed 3 years ago

yutakahirano commented 3 years ago

Currently the error is ignored, which is not good.

annevk commented 3 years ago

I guess I also need to test the asynchronous case as basically https://xhr.spec.whatwg.org/#handle-errors doesn't make a whole lot of sense. Or do we already have tests for that?