clearResourceTimings method

void clearResourceTimings()

The clearResourceTimings() method removes all performance entries with an PerformanceEntry.entryType of "resource" from the browser's performance timeline and sets the size of the performance resource data buffer to zero.

To set the size of the browser's performance resource data buffer, use the Performance.setResourceTimingBufferSize method.

To get notified when the browser's resource timing buffer is full, listen for the Performance.resourcetimingbufferfull_event event.

Implementation

external void clearResourceTimings();