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
Property | Type | Description |
---|---|---|
target Read only |
EventTarget |
The event target (the topmost target in the DOM tree). |
type Read only |
DOMString |
The type of event. |
bubbles Read only |
Boolean |
Whether the event normally bubbles or not |
cancelable Read only |
Boolean |
Whether the event is cancellable or not? |
view Read only |
WindowProxy |
document.defaultView (window of the document) |
detail Read only |
long (float |
0 |
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
Specification | Status | Comment |
---|---|---|
Resource Timing The definition of 'onresourcetimingbufferfull' in that specification. |
Editor's Draft | Initial definition. |