Closed Bug 2094952 Opened 12 days ago Closed 9 days ago

[wpt-sync] Sync PR 65037 - ElementTiming: count entries dropped from a full buffer

Categories

(Core :: DOM: Performance APIs, task, P4)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 65037 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/65037
Details from upstream follow.

Jose Dapena Paz <jdapena@igalia.com> wrote:

ElementTiming: count entries dropped from a full buffer

AddElementTiming skipped AddToElementTimingBuffer once the buffer was
full, so droppedEntriesCount never counted element entries.

Always call AddToElementTimingBuffer, which already does the full check
and counts the drop.

Bug: 582407441
Change-Id: I162ef0183e4729b80df2971ad188d9ef3d83797e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8797166
Reviewed-by: Michal Mocny \<mmocny@chromium.org>
Commit-Queue: José Dapena Paz \<jdapena@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1741747}

Component: web-platform-tests → DOM: Performance APIs
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.