[whatwg/fetch] Abort refactoring led to variable errors (#706)

While working on #705 I noticed that because large swaths of code are now inside a conditional, sometimes variables get defined within that conditional that later on get referenced, except that doesn't work due to block scoping.

E.g., in https://fetch.spec.whatwg.org/#concept-http-network-or-cache-fetch _storedResponse_ is now defined in a substep of step 2 and then referenced in a substep of step 4. That doesn't work.

@jakearchibald I'd appreciate if you could sort this, but let me know if you're too busy.

-- 
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/fetch/issues/706

Received on Tuesday, 17 April 2018 15:25:56 UTC