Expose constructible URL objects that can be manipulated and combined.
The URL API has just gone into development: https://dev.modern.ie/platform/status/urlapi/
I'm surprised this is not implemented yet. Is there milestone we can expect this?
Jake Archibald commented
I've been using these a lot in service workers.
Darrel Miller commented
Any URL object should first be compliant with RFC 3986 and then potentially apply the techniques described in the WHATWG URL spec to convert invalid URIs into valid URIs.