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

Re: [RequestAnimationFrame] cancelRequestAnimationFrame is an odd name

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 07 Dec 2011 01:06:59 -0500
Message-ID: <4EDF0283.4070501@mit.edu>
To: James Robinson <jamesr@google.com>
CC: public-web-perf@w3.org
On 12/7/11 12:59 AM, James Robinson wrote:
> Either sound fine to me.  The goal is to attempt some sort of symmetry
> with setTimeout/clearTimeout and setInterval/clearInterval.  I'm not
> sure if "request"/"cancel" are an ideal pair but I didn't come up with
> the "request" bit in the first place :).

If we have a better name, we should consider it now, before 
implementations start unprefixing.  Content that was trying to be 
forward-compatible with the unprefixed name will need to be changed, of 
course, but it all has fallbacks to setTimeout anyway, so it won't fail 

Received on Wednesday, 7 December 2011 06:07:38 UTC

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