[whatwg] URL: URLQuery

Tab Atkins Jr. jackalmage at gmail.com
Fri Nov 30 09:42:54 PST 2012

On Fri, Nov 30, 2012 at 9:17 AM, Anne van Kesteren <annevk at annevk.nl> wrote:
> On Sat, Oct 13, 2012 at 12:24 AM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
>> If we do stick with the method-based map, I strongly feel we should
>> match the JS Map API, and have a has() method as well.  *Ideally*,
>> this would be a subclass of Map.
> This is now done: http://url.spec.whatwg.org/#urlquery
> Feedback welcome!

Only feedback left is the return types of set(), append(), and delete().

In Maps, set() returns the map, so you can chain more easily.  TC39
hasn't yet made delete() return the map, but they plan to (baby steps,
apparently, but us jumping on it will help).  Obviously, append()
should match set().


More information about the whatwg mailing list