Re: [whatwg/url] Prevent the pathname setter from erasing the path of path-only URLs, … (#582)

Chrome and Firefox still don't have non-special URLs implemented correctly so I rather not count them.

Safari doesn't seem to allow for removal of the path if there is a host for non-special URLs. I tend to side with OP that it should be possible. That is, if `foo://host` doesn't create a path and `foo://host/` does, it seems nice if you can get from the latter to the former by setting `pathname` to the empty string.

cc @achristensen07 

-- 
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/url/pull/582#issuecomment-784930581

Received on Wednesday, 24 February 2021 09:17:24 UTC