[Resource Timing] when onresourcetimingbufferfull callback is trigged.

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 Saturday, 13 October 2012 00:15:35 UTC