Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new Request(undefined).url should return "undefined" #7837

Closed
lucacasonato opened this issue Oct 6, 2020 · 2 comments · Fixed by #7838
Closed

new Request(undefined).url should return "undefined" #7837

lucacasonato opened this issue Oct 6, 2020 · 2 comments · Fixed by #7838
Labels
bug Something isn't working correctly ext/fetch related to the ext/fetch

Comments

@lucacasonato
Copy link
Member

See #7836

This is what Chrome, FF, and Safari do, and it is intended behaviour:

@nayeemrmn

This comment has been minimized.

@lucacasonato lucacasonato changed the title new Response(undefined).url should return "undefined" new Request(undefined).url should return "undefined" Oct 6, 2020
@wperron
Copy link
Contributor

wperron commented Oct 6, 2020

for the sake of clarity, both FF and Chrome stringify undefined and interpret it as a relative url when doing new Request(undefined)

@kitsonk kitsonk added bug Something isn't working correctly ext/fetch related to the ext/fetch labels Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly ext/fetch related to the ext/fetch
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants