W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2015

Re: [whatwg] Relative URL plan

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Tue, 16 Jun 2015 14:29:21 -0400
Message-ID: <55806B01.5030307@mit.edu>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: WHATWG <whatwg@lists.whatwg.org>
On 6/16/15 2:23 PM, Anne van Kesteren wrote:
> Actually, it seems like you can, though that would equally affect data
> URLs, but maybe that's not too bad. I guess for the API we could
> special case a couple of schemes to not support reading/writing as
> desired for optimizations.

What optimizations are we talking about here, specifically?

Note that my general view for how URL objects should work internally in 
Gecko is that we should have an immutable backing store and mutators 
that clone-with-modifications (basically copy on write).  Of course in 
terms of the web-exposed behavior we'd just have the web-exposed URL 
change which internal object it points to on mutation, so we can expose 
whatever mutators we want.

Received on Tuesday, 16 June 2015 18:29:49 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:33 UTC