(item)
| 339 | } |
| 340 | } |
| 341 | addToReport(item) { |
| 342 | if (kExecutionOrderedEvents.has(item.type)) { |
| 343 | this.#handleReportItem(item); |
| 344 | return; |
| 345 | } |
| 346 | this.#accumulateReportItem(item); |
| 347 | if (!this.isClearToSend()) { |
| 348 | ArrayPrototypePush(this.#reportBuffer, item); |
| 349 | return; |
| 350 | } |
| 351 | this.#drainReportBuffer(); |
| 352 | this.#handleReportItem(item); |
| 353 | } |
| 354 | reportStarted() {} |
| 355 | drain() { |
| 356 | this.#drainRawBuffer(); |
no test coverage detected