W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

Re: [whatwg] [URL] DOM API Feedback

From: Anne van Kesteren <annevk@annevk.nl>
Date: Mon, 19 Nov 2012 00:17:54 +0100
Message-ID: <CADnb78hwCfJt_V9kO-b14hk3Q9i3i8zX4faD3bBwe517Eu=Gsw@mail.gmail.com>
To: David Bruant <bruant.d@gmail.com>
Cc: whatwg <whatwg@whatwg.org>
On Sun, Nov 18, 2012 at 11:34 PM, David Bruant <bruant.d@gmail.com> wrote:
> I feel the URLQuery object could be a regular object. Or maybe an ES6 Map.
> If not an ES6 Map, maybe its API could be mapped exactly to ES6 Map. It
> would increase interoperability.

It cannot be a regular object because it modifies an underlying
string. I suppose the same goes for ES6 Map. And URLQuery represents
an ordered list of key-value pairs so I'm not sure how close it can
be.


-- 
http://annevankesteren.nl/
Received on Sunday, 18 November 2012 23:20:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT