Re: [whatwg/fetch] Align redirect fragment handling with HTTP (#696)

In the [location URL](https://fetch.spec.whatwg.org/#concept-response-location-url) algorithm:

> If locationURL’s fragment is null, then set locationURL’s fragment to requestFragment. 

The variable `locationURL` is not declared; it may be `location`.
Assuming `location`, it can be failure. Thus, the if clause needs to include for checking it.


-- 
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/pull/696#issuecomment-786338443

Received on Friday, 26 February 2021 01:10:26 UTC