<?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>21669</bug_id>
          
          <creation_ts>2013-04-11 22:12:33 +0000</creation_ts>
          <short_desc>Callable interface objects should be instance of Function</short_desc>
          <delta_ts>2013-08-04 07:35:37 +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>INVALID</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="Erik Arvidsson">erik.arvidsson</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>85982</commentid>
    <comment_count>0</comment_count>
    <who name="Erik Arvidsson">erik.arvidsson</who>
    <bug_when>2013-04-11 22:12:33 +0000</bug_when>
    <thetext>http://dev.w3.org/2006/webapi/WebIDL/#interface-object

&gt; The internal [[Prototype]] property of an interface object for a callback interface must be the Object.prototype object.

Shouldn&apos;t this be Function.prototype and not Object.prototype?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85996</commentid>
    <comment_count>1</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2013-04-11 22:36:26 +0000</bug_when>
    <thetext>No, callback interface objects aren&apos;t actually callable, and only exist to expose any consts that are declared on the object.  I attempted to clarify in https://bugs.webkit.org/show_bug.cgi?id=114465#c5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91604</commentid>
    <comment_count>2</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2013-08-04 07:35:37 +0000</bug_when>
    <thetext>Per the explanation, callback interface objects are not functions.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>