W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2012

[WebIDL] Interface object prototype and function object

From: Philippe Le Hegaret <plh@w3.org>
Date: Wed, 03 Oct 2012 11:43:54 -0400
To: public-webapps <public-webapps@w3.org>
Message-ID: <1349279034.10744.739.camel@chacal>
In
 http://dev.w3.org/2006/webapi/WebIDL/

section 4.4.1 says: "The interface object for a given non-callback
interface is a function object."

section 4 says: "If an object is defined to be a function object, then
it has characteristics as follows: Its [[Prototype]] internal property
is the Function prototype object.[...]"

Does this mean that:
 typeof Document.prototype should return "function" ?

If not, I'm wondering what I'm missing...

Philippe
Received on Wednesday, 3 October 2012 15:44:09 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:55 GMT