This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
I keep getting people ask me if we can make HTMLCollection (and other such interfaces, like NodeList, FileList, etc) into something akin to JS Arrays, with .forEach, etc. Would be nice if WebIDL had a generic solution to this.
Is all that is needed here to make the prototype of HTMLCollection.prototype etc. be Array.prototype? If so, we could just have an extended attribute [ArrayLike] to require this.
Deferring this.
Cameron - given what you say in Comment #2, should this now be Resolved as "Later"?
This is [ArrayClass] and NodeList uses it (HTMLCollection cannot because of compatibility; might have to be removed from NodeList too for the same reason...).