<?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>16440</bug_id>
          
          <creation_ts>2012-03-19 19:59:43 +0000</creation_ts>
          <short_desc>interface prototype object.</short_desc>
          <delta_ts>2012-03-21 23:35:06 +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>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="Marcos Caceres">w3c</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <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>65773</commentid>
    <comment_count>0</comment_count>
    <who name="Marcos Caceres">w3c</who>
    <bug_when>2012-03-19 19:59:43 +0000</bug_when>
    <thetext>The spec reads: 

&quot;The interface object for a non-callback interface must also have a property named “prototype” with attributes  { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false } whose value is an object called the interface prototype object.&quot;

I think the above is a statement of fact, and not a conformance requirement. It&apos;s also a bit ambiguous. Can it be rewritten as :

The interface prototype object for a non-callback interface has a property named “prototype” with attributes  { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false } and whose [[Value]] is of type &quot;Object&quot;.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65934</commentid>
    <comment_count>1</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2012-03-21 23:35:06 +0000</bug_when>
    <thetext>You&apos;re right that interface objects will have a prototype property regardless, just due to the fact that they are Function objects.  But I think that interface objects for callback interfaces shouldn&apos;t be Function objects -- it&apos;d probably be strange if they are, given that they&apos;re required not to have a prototype property and really just exist as a place to put constants.

I&apos;ve reworded:

  http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.492;r2=1.493;f=h</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>