Re: [whatwg/xhr] Handle errors in response bodies (#315)

@annevk commented on this pull request.



>      <var>nullOrFailureOrBytes</var>, be these steps:
 
     <ol>
-     <li><p>Set <var>response</var> to <var>fetchResponse</var>.
+     <li><p>If <var>nullOrFailureOrBytes</var> is not failure, then set <a>this</a>'s

This is a bit bad perhaps, but the default value of this's response is a network error. (This mainly makes it easier to define a lot of the getters.)

-- 
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/315#discussion_r586252886

Received on Wednesday, 3 March 2021 09:28:03 UTC