<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>11195</bug_id>
          
          <creation_ts>2010-11-02 02:01:23 +0000</creation_ts>
          <short_desc>HTMLCollection wants to be an array</short_desc>
          <delta_ts>2012-11-29 15:38:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>WebIDL</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ian &apos;Hixie&apos; Hickson">ian</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>annevk</cc>
    
    <cc>art.barstow</cc>
    
    <cc>kennyluck</cc>
    
    <cc>mathias</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>public-script-coord</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>41945</commentid>
    <comment_count>0</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-11-02 02:01:23 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49762</commentid>
    <comment_count>1</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2011-06-17 06:25:53 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49874</commentid>
    <comment_count>2</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2011-06-20 02:39:25 +0000</bug_when>
    <thetext>Deferring this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50455</commentid>
    <comment_count>3</comment_count>
    <who name="Arthur Barstow">art.barstow</who>
    <bug_when>2011-06-29 16:04:57 +0000</bug_when>
    <thetext>Cameron - given what you say in Comment #2, should this now be Resolved as &quot;Later&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79126</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-11-29 15:38:42 +0000</bug_when>
    <thetext>This is [ArrayClass] and NodeList uses it (HTMLCollection cannot because of compatibility; might have to be removed from NodeList too for the same reason...).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>