Performance: resourcetimingbufferfull event

The resourcetimingbufferfull event is fired when the browser's resource timing buffer is full.

Bubbles Yes
Cancelable Yes
Interface Event
Event handler property onresourcetimingbufferfull


The following example sets a callback function on the onresourcetimingbufferfull property.

function buffer_full(event) {
  console.log("WARNING: Resource Timing Buffer is FULL!");
function init() {
  // Set a callback if the resource buffer becomes filled
  performance.onresourcetimingbufferfull = buffer_full;
<body onload="init()">

Note that you could also set up the handler using the addEventListener() function:

performance.addEventListener('resourcetimingbufferfull', buffer_full);


Resource Timing Level 2 (Resource Timing 2)
# dom-performance-onresourcetimingbufferfull

Browser compatibility

BCD tables only load in the browser

See also