Re: [web-animations] AnimationTimeline comments

It would make more sense to me for a method named "get" to return the same
object every time.  In particular, it's desirable to be able to
control/reduce memory allocations in code that is concerned with smooth

- Kris

On Mon, May 19, 2014 at 8:30 AM, Boris Zbarsky <> wrote:

> On 5/19/14, 6:52 AM, Erik Dahlström wrote:
>> It sounds rather java-like to have a get method for this IMHO. In any
>> case, if the WebIDL is the limitation
> Again, the real question is what semantics you want.  The first question
> is: do you want to return a live list or a snapshot?  The second question
> is: do you want to return the same object every time (with presumably some
> explicit update points for the snapshot case) or a new object each time?
> Once you decide on the answers to those questions, then we can talk about
> how to express it in IDL.  Fwiw, all four combinations there are in fact
> expressible in IDL.
> -Boris

Received on Monday, 19 May 2014 16:48:55 UTC