Re: PerformanceEntry serializers

On Sun, 2015-02-01 at 01:02 -0500, Boris Zbarsky wrote:
> On 1/31/15 12:17 PM, Philippe Le Hegaret wrote:
> > I added serializers for all of the PerformanceEntry objects that we
> > defined (navigation, frame, resource, user), e.g.
> >   https://w3c.github.io/resource-timing/#h-serializer
> 
> You need to define a serializer on PerformanceEntry if you want to use 
> "inherit" serializers on interfaces that inherit from it.

I did:

http://w3c.github.io/performance-timeline/#sec-PerformanceEntry-interface

> Also, is there a reason you're explicitly listing the attributes to be 
> serialized instead of just serializing all of them?  It sure looks to me 
> like your list is "all of them" for the case of PerformanceResourceTiming.

Well, after looking at the Web IDL spec, I wasn't sure how to write it
down more efficiently. The intent is to serialize all of them indeed.

Philippe

Received on Monday, 2 February 2015 23:00:29 UTC