W3C home > Mailing lists > Public > public-web-perf@w3.org > February 2012

Re: [RequestAnimationFrame] callback

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 22 Feb 2012 13:11:15 +0100
To: public-web-perf@w3.org, Ms2ger <ms2ger@gmail.com>
Message-ID: <op.v92xg1i364w2qv@annevk-macbookpro.local>
On Wed, 22 Feb 2012 13:00:57 +0100, Ms2ger <ms2ger@gmail.com> wrote:
> the spec currently has
>
> | callback FrameRequestCallback = void (DOMTimeStamp time);
>
> This is inconsistent with the rest of the platform, which allows using,  
> for example, { handleEvent: function(e) { } } for EventListener. It  
> should be changed to
>
> # callback interface FrameRequestCallback {
> #   void sample(DOMTimeStamp time);
> # };
>
> Gecko already implements this.

I disagree with this comment.

We discussed this at length on public-script-coord and the conclusion was  
what is in the specification now (and recommended by Web IDL):  
http://lists.w3.org/Archives/Public/public-script-coord/2011OctDec/0368.html


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Wednesday, 22 February 2012 12:11:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 February 2012 12:11:53 GMT