<?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>17722</bug_id>
          
          <creation_ts>2012-07-09 11:20:40 +0000</creation_ts>
          <short_desc>All interface objects should have a &apos;length&apos; property</short_desc>
          <delta_ts>2012-07-10 08:29:24 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ms2ger">Ms2ger</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>annevk</cc>
    
    <cc>bzbarsky</cc>
    
    <cc>mike</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>69733</commentid>
    <comment_count>0</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2012-07-09 11:20:40 +0000</bug_when>
    <thetext>In V8, Opera and Gecko&apos;s new bindings, they have a &apos;length&apos; property set to 0. In IE and old Gecko, they don&apos;t have one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69734</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2012-07-09 11:34:06 +0000</bug_when>
    <thetext>Safari 5.1.7 also does not have one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69761</commentid>
    <comment_count>2</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2012-07-10 06:43:58 +0000</bug_when>
    <thetext>Per spec, interface objects are always functions, functions in ES5 have a length.  WebIDL&apos;s only business here is defining what that length should be.  It does so for cases when there is a [Constructor]; presumably this bug is about the cases when there isn&apos;t one?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69764</commentid>
    <comment_count>3</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2012-07-10 07:25:09 +0000</bug_when>
    <thetext>Right, and it should be 0 in that case.

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.559;r2=1.560;f=h</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69768</commentid>
    <comment_count>4</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2012-07-10 08:29:24 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Per spec, interface objects are always functions, functions in ES5 have a
&gt; length.  WebIDL&apos;s only business here is defining what that length should be. 
&gt; It does so for cases when there is a [Constructor]; presumably this bug is
&gt; about the cases when there isn&apos;t one?

And the fact that I was confused by the phrasing.

(In reply to comment #3)
&gt; Right, and it should be 0 in that case.
&gt; 
&gt; http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.559;r2=1.560;f=h

Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>