Array.prototype.contains

Joshua Bell jsbell at chromium.org
Thu Mar 6 15:15:46 PST 2014


FWIW, Blink uses DOMStringList only in IndexedDB and apparently in
Location.ancestorOrigins



On Thu, Mar 6, 2014 at 1:59 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:

> On 3/6/14 4:49 PM, Brendan Eich wrote:
>
>> What's with all the "no one implements" (including #3) stuff in specs?
>>
>
> IDL Arrays in general are not implemented by anyone that I know of (and
> possibly ever).  They were a new concept added in WebIDL that hasn't really
> caught on with implementations.  In Gecko's case that was because we never
> got around to it, and it was simpler to use the infrastructure we needed to
> create anyway or already had for "indexed getters" (c.f. DOMStringList,
> NodeList, etc) than to create a bunch of new infrastructure for IDL Arrays.
>
> And then people realized that in some ways IDL Arrays are an attractive
> nuisance even if they were implemented, which made the priority on
> implementing them even less.
>
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=23682 has discussion
> that's worth reading, if people haven't already, about the various use
> cases that arise for arrays and arraylikes and how to best solve them.
>
>  Are the specs new?
>>
>
> Somewhat.
>
>
>  Are we in a situation (even in #3, _pace_ Jonas)
>> where the specs should be changed to reflect reality?
>>
>
> Yes.  Need to figure out what reality is or should be, first.
>
> -Boris
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140306/67d9f6da/attachment.html>


More information about the es-discuss mailing list