W3C home > Mailing lists > Public > public-web-perf@w3.org > October 2012

[Resource Timing] when onresourcetimingbufferfull callback is trigged.

From: Pan Deng <pan.pdeng6@gmail.com>
Date: Sat, 13 Oct 2012 08:15:07 +0800
Message-ID: <CA+Ro6hyY1KWjg5yX9g+t9oe3t9BHHL=pVhghF5RiFibwVvXaog@mail.gmail.com>
To: public-web-perf@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 13 October 2012 00:15:35 GMT