Re: whether [Callback=FunctionOnly] should be the default

Anne van Kesteren:
> Maybe [Callback] should mean [NoInterfaceObject]. I do not think we
> would ever want to expose the interface.

In the vast majority of cases, yes you do want to use [Callback] and
[NoInterfaceObject] together.  There’s at least one instance of an API
with an interface that can be implemented by user or host objects:

> Is the only reason for FunctionOnly event handlers?

That’s the case that I hear brought up.
tells me that Chrome and Safari allow it, but Firefox/Opera/IE don’t.  I
don’t know whether there’s a real compatibility aspect to this or not.

Cameron McCormack ≝

Received on Monday, 27 June 2011 05:31:05 UTC