[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 15:24:45 PDT 2013


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


Cameron McCormack <cam at mcc.id.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cam at mcc.id.au




--- Comment #4 from Cameron McCormack <cam at mcc.id.au>  2013-04-11 15:23:00 PST ---
Maybe callback interfaces and callable interfaces are being confused here.

Callback interfaces, i.e.

  callback interface Something {
    ...
  };

never have interface objects, so there is no need to define their interface objects are Function objects or not.  Callback interfaces are used so that APIs can call back into native objects that "implement" the interface.

All non-callback interface objects ("non-callback interface" = "interfaces that platform objects can implement"), whether they are declared with [Constructor] or not, are Function objects and are thus callable.

-- 
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