Why does legacy content break when making array-likes real arrays?

Anne van Kesteren annevk at annevk.nl
Sun Dec 30 14:46:50 PST 2012


On Sun, Dec 30, 2012 at 11:23 PM, Domenic Denicola
<domenic at domenicdenicola.com> wrote:
> I saw this happen, and was sad, but never understood what the legacy problem was.

https://bugs.webkit.org/show_bug.cgi?id=81573

In particular https://bugs.webkit.org/show_bug.cgi?id=81573#c45

The problem with doing this for HTMLCollection is that HTMLCollection
supports named properties. (No idea why that happened.) We could maybe
have HTMLCollection.toArray() or some such at some point if that's
found desirable. Haven't seen that many requests for such a thing yet.


-- 
http://annevankesteren.nl/


More information about the es-discuss mailing list