<?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>20528</bug_id>
          
          <creation_ts>2012-12-28 12:02:08 +0000</creation_ts>
          <short_desc>Definition of [[Prototype]] for the interface prototype object is confusing</short_desc>
          <delta_ts>2013-08-04 06:49:27 +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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>[v1]</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>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>80658</commentid>
    <comment_count>0</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2012-12-28 12:02:08 +0000</bug_when>
    <thetext>&gt; The interface prototype object for a given interface A MUST have
&gt; an internal [[Prototype]] property whose value is as follows:
&gt;
&gt; 1.  If A is declared with the [NamedPropertiesObject] extended
&gt;     attribute, then the value of the internal [[Prototype]]
&gt;     property of A is the named properties object for A, as defined
&gt;     in section 4.4.4 below.
&gt; 2.  Otherwise, if A is not declared to inherit from another
&gt;     interface, then the value of the internal [[Prototype]]
&gt;     property of A is the Array prototype object ([ECMA-262],
&gt;     section 15.4.4) if the interface was declared with
&gt;     [ArrayClass], or the Object prototype object otherwise
&gt;     ([ECMA-262], section 15.2.4).
&gt; 3.  Otherwise, the value of the internal [[Prototype]] property of
&gt;     A is the interface prototype object for the inherited interface.

refers repeatedly to &quot;the internal [[Prototype]] property of A&quot;, but A is an interface.

IMO, it would make more sense to structure this part as:

&gt; The interface prototype object for a given interface A MUST have
&gt; an internal [[Prototype]] property whose value is returned by the
&gt; following steps:
&gt;
&gt; 1.  If A is declared with the [NamedPropertiesObject] extended
&gt;     attribute, return the named properties object for A, as
&gt;     defined in section 4.4.4 below.
&gt; 2.  ...
&gt; 3.  ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91598</commentid>
    <comment_count>1</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2013-08-04 06:49:27 +0000</bug_when>
    <thetext>Yeah, sounds good.

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.678;r2=1.679;f=h
http://dev.w3.org/cvsweb/2006/webapi/WebIDL/v1.xml.diff?r1=1.120;r2=1.121;f=h</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>