On Wed, Jan 15, 2014 at 7:35 AM, Sebastian Markbåge
<[email protected]> wrote:
> At risk of derailing the conversation with a tangent... I don't understand
> the premise. Why is it so important that URLs are mutable? (Other than
> already being drafted that way.)

That's a good question. I mostly took after <a> / Location and what
existing URL libraries offered, and nobody has questioned that design
much to date. It is implemented now in Firefox/Chrome though.

URLSearchParams is mutable and that's definitely desired. So if we
still want to expose equivalent functionality we'd have to provide a
readonly variant of that.

We could at some point provide a URLValue API maybe for immutable URLs
(and have operator overloading).


-- 
http://annevankesteren.nl/
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to