Re: [PerformanceTimeline] API/WebIDL related feedback

On 8/22/13 4:30 PM, David Bruant wrote:
> Maybe it should just be .entries, then (instead of .getEntries() )?

As the spec is written right now getEntries() returns a new JS Array 
object containing entries; the discussion was about whether the items in 
the array are also new objects or just references to existing objects.

In your proposed setup, what would .entries return?  If an Array object, 
what happens when you try to push() or pop()?  Does performance.entries 
== performance.entries test true?

-Boris

Received on Friday, 23 August 2013 02:10:15 UTC