W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2011

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

From: Cameron McCormack <cam@mcc.id.au>
Date: Mon, 27 Jun 2011 17:30:39 +1200
To: Anne van Kesteren <annevk@opera.com>
Cc: public-script-coord@w3.org
Message-ID: <20110627053039.GD25806@wok.mcc.id.au>
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 ≝ http://mcc.id.au/
Received on Monday, 27 June 2011 05:31:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:03 UTC