Hi Paul,

> If we want a full-featured WHATWG-URL implementation in core, would it not
> be preferable (with Trevor's permission) to convert rowbot/url from
> userland to core instead? Surely conversion from an existing, well-tested,
> widely-used implementation would be easier/better/faster than writing an
> implementation from scratch.
>

There's no way I would have written an implementation from scratch. I'm
using the url module of the Lexbor C library (
https://github.com/lexbor/lexbor/) for handling WHATWG URLs. It's already
bundled in core, and it's also battle tested, and it has exceptional
maintenance. All I had to implement is the glue between userland and the C
library.

Máté

Reply via email to