dhtmlkitchen at gmail.com
Wed Jul 23 10:50:48 PDT 2014
On 7/23/14, Maël Nison <nison.mael at gmail.com> wrote:
> Isn't replacing DOMStringList a different issue than adding
> Array.prototype.contains ?
> Using indexOf is possible, but a .contains() method would give a stronger
> notice of intent when reading code.
So too, for cases of removing an item, would Array.prototype.remove(v)
show clear intent.
> On 7 March 2014 15:11, Boris Zbarsky <bzbarsky at mit.edu> wrote:
>> On 3/6/14 6:15 PM, Joshua Bell wrote:
>>> FWIW, Blink uses DOMStringList only in IndexedDB and apparently in
>> Indeed. And Location.ancestorOrigins is fairly new and not broadly
>> implemented, so I don't expect its behavior to be a strong compat
>> So I guess that leaves us with a few questions:
>> 1) Is it still early enough in the indexeddb world that we can change
>> thing it uses from DOMStringList to Array. And if so whether that's a
>> change we want to make.
>> 2) If we want to keep the non-writing behavior for indexeddb or for some
>> other reason (insufficiently flexible bindings systems?) can't switch ti
>> Array for now, can we just remove item() and contains() from
>> to make the switch easier later?
>> es-discuss mailing list
>> es-discuss at mozilla.org
> Maël Nison (arcanis <https://twitter.com/arcanis>)
> Frontend Developer @ Sketchfab
More information about the es-discuss