perf_hooks: add resourcetiming buffer limit
Add WebPerf API performance.setResourceTimingBufferSize
and event
'resourcetimingbufferfull'
support.
The resource timing entries are added to the global performance timeline buffer automatically when using fetch
. If users are not proactively cleaning these events, it can grow without limit. Apply the https://www.w3.org/TR/timing-entrytypes-registry/ default resource timing buffer max size so that the buffer can be limited to not grow indefinitely.