[Webkit-unassigned] [Bug 114465] [DOM] Non-callback interface objects without [NoInterfaceObject] should be instanceof Function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 11 14:56:19 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=114465





--- Comment #2 from Glenn Adams <glenn at skynav.com>  2013-04-11 14:54:34 PST ---
(In reply to comment #1)
> http://dev.w3.org/2006/webapi/WebIDL/#interface-object
> 
> "The internal [[Prototype]] property of an interface object for a callback interface must be the Object.prototype object."
> 
> We are plannin to change this in the spirit of ES6 so that the [[Prototype]] points to the super interface object and if there is no such interface object it will point to Function.prototype.

This bug is about non-callback interfaces, so the above doesn't seem to apply. What applies is:

(1) "The interface object for a given non-callback interface is a function object."

(2) "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."

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list