This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16490 - Add [ArrayClass] to HTMLCollection?
Summary: Add [ArrayClass] to HTMLCollection?
Status: RESOLVED WONTFIX
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: DOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Anne
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-23 08:05 UTC by Anne
Modified: 2012-11-05 19:52 UTC (History)
4 users (show)

See Also:


Attachments

Description Anne 2012-03-23 08:05:55 UTC
NodeList is annotated with [ArrayClass] at the moment, can we annotate HTMLCollection with it as well?

The problem is its named getter, but maybe there is some workaround for that?
Comment 1 Cameron McCormack 2012-03-24 00:39:40 UTC
Yeah, I don't think we should do this unless we find a solution to the problem of the Array.prototype function names clashing with named properties on the collection.
Comment 2 Anne 2012-05-15 10:56:05 UTC
I also heard that adding this to NodeList might not work out :-(