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

> Browsers only have a single URL parser that works as `new URL()` does

Sure, as I said, it's completely reasonable that a browser needs to resolve to an absolute URL. But I'm not building a browser and I have a suspicion that most `new URL()` users aren't, either. I'm building software for the web platform that is environment agnostic and needs the same functionality as `new URL()` even if the scheme or host is not yet known. Use cases and relevant code linked to above.

-- 
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-660207313

Received on Friday, 17 July 2020 16:31:45 UTC