Re: [whatwg/url] Support relative URLs (#531)

I get that browsers need an absolute base URL to actually perform a request. And thus it makes sense for the URL specification to define what an absolute base URL is and discuss resolving relative URLs in the context of an absolute base URL, etc.

What doesn't make sense to me is why `new URL()` imposes this limitation. I cannot think of anything else on the web platform that does this. Even HTML's `<base>` tag supports relative URLs, despite the fact that it is specifically meant for defining the base URL.

-- 
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/issues/531#issuecomment-660070816

Received on Friday, 17 July 2020 12:05:31 UTC