resourcetimingbufferfull
The resourcetimingbufferfull
event is fired when the browser's resource timing buffer
is full.
General info
- Specification
- Resource Timing
- Interface
Performance
- Bubbles
- Yes
- Cancelable
- Yes
- Target
- Document, Element
- Default Action
- none
Properties
Example
function buffer_full(event) {
if (performance === undefined) {
console.log("Performance interface NOT supported.");
return;
}
// Remove all of the resource timing entries
performance.clearResourceTimings();
// Set the new size at 200 resource timing entries (PerformanceEntry objects)
performance.setResourceTimingBufferSize(200);
}
<body onresourcetimingbufferfull="buffer_full(event)">
Specifications
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
Basic support. | No support | No support | ? | No support | No support |
Feature | Android | Firefox Mobile (Gecko) | Firefox OS | IE Phone | Opera Mobile | Safari Mobile |
Basic support. | No support | No support | No support | ? | No support | No support |
See Also