* https://www.w3.org/TR/performance-timeline/#dfn-queue-a-performanceentry * * Add the performance entry to the interested performance observer's queue.
(entry)
| 385 | * Add the performance entry to the interested performance observer's queue. |
| 386 | */ |
| 387 | function enqueue(entry) { |
| 388 | if (!isPerformanceEntry(entry)) |
| 389 | throw new ERR_INVALID_ARG_TYPE('entry', 'PerformanceEntry', entry); |
| 390 | |
| 391 | for (const obs of kObservers) { |
| 392 | obs[kMaybeBuffer](entry); |
| 393 | } |
| 394 | } |
| 395 | |
| 396 | /** |
| 397 | * Add the user timing entry to the global buffer. |
no test coverage detected
searching dependent graphs…