[Bug 14813] Prototype of interface objects is Object.prototype in implementations, not Function.prototype

https://www.w3.org/Bugs/Public/show_bug.cgi?id=14813

--- Comment #8 from Cameron McCormack <cam@mcc.id.au> 2011-12-09 05:23:49 UTC ---
Having them be function objects is closer to natively defined classes, yes.  It
also lets them respond to [[HasInstance]] without any hackery.  Having function
objects with Object.prototype as their [[Prototype]] would be weird, so better
to leave it as Function.prototype.

It was done in bug 12458.  You can see the thoughts of some implementors there.
 I have not had pushback since bug 12458 comment 13, but it might be that the
change was not publicised widely enough and people haven't tried implementing
it to check compatibility just yet.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 9 December 2011 05:23:56 UTC