W3C home > Mailing lists > Public > public-web-perf@w3.org > June 2011

Re: ISSUE-7: FrameRequestCallback interface should be designated as Callback=FunctionOnly [Request Animation Frame]

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 2 Jun 2011 10:30:34 +1200
To: Olli Pettay <Olli.Pettay@helsinki.fi>
Cc: Web Performance Working Group WG <public-web-perf@w3.org>
Message-ID: <20110601223034.GC18404@wok.mcc.id.au>
Olli Pettay:
> It is not. In event handling
> foo.addEventListener("bar_event", { handleEvent: function(e) {}}, true);
> has proved to be useful.

I don’t know if it has proved to be useful, since it doesn’t really buy
you much over using a plain Function object, but DOM Events probably
needs to keep allowing this.  My impression is that new specifications
tend to use use [Callback=FunctionOnly] more than [Callback].

Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 1 June 2011 22:31:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:30 UTC