RE: [Resource Timing] when onresourcetimingbufferfull callback is trigged.

I like the proposed clarification as well. I'll update the spec.

-----Original Message-----
From: Tony Gentilcore [mailto:tonyg@google.com] 
Sent: Monday, October 15, 2012 4:36 PM
To: Pan Deng
Cc: public-web-perf@w3.org
Subject: Re: [Resource Timing] when onresourcetimingbufferfull callback is trigged.

I like the proposed clarification. Jatinder, do you know what IE does in this case? Pan, it might be helpful if you submitted your test case.

-Tony

On Fri, Oct 12, 2012 at 5:15 PM, Pan Deng <pan.pdeng6@gmail.com> wrote:
> I think It's not clear enough about when onresourcetimingbufferfull 
> callback is trigged,
>
> [1] says, "The callback onresourcetimingbufferfull is triggered when 
> the buffer used to store the list of PerformanceResourceTiming is full.".
>
> What about setting a buffer size which is less than or equal to the 
> number of elements currently stored in the buffer? I prefer a clear 
> definition of onresourcetimingbufferfull trigged in that case.
>
>
>
> Can we modify the statements like this:
>
> The callback onresourcetimingbufferfull is triggered when:
>
> 1.      The buffer used to store the list of PerformanceResourceTiming is
> full
>
> 2.      Parameter of setResourceTimingBufferSize is less than or equal to
> the number of elements currently stored in the buffer
>
> The callback can be used to package existing PerformanceResourceTiming 
> resources and clear...
>
>
>
> Thanks
>
> Pan
>
>
>
> [1]
> http://www.w3c-test.org/webperf/specs/ResourceTiming/#dom-performance-
> onresourcetimingbufferfull

Received on Tuesday, 16 October 2012 17:16:31 UTC