[whatwg/url] Consider defining schemes and ports independently from URLs (#510)

They are a field on a URL record, but sometimes you want to discuss them in isolation, e.g., for defining special schemes. To then refer to the field on a URL record is somewhat clumsy.

We also seem to grab "default port" without accounting for whether the scheme is special. It would probably make sense to define it for all schemes and return null for the non-special schemes.

-- 
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/510

Received on Monday, 11 May 2020 05:54:56 UTC