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);


Specification Status Comment
Resource Timing Level 1
The definition of 'onresourcetimingbufferfull' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

No compatibility data found. Please contribute data for "api.Performance.resourcetimingbufferfull_event" (depth: 1) to the MDN compatibility data repository.

See Also

Document Tags and Contributors

Last updated by: wbamberg,