Closed Bug 2094959 Opened 11 days ago Closed 9 days ago

[wpt-sync] Sync PR 65036 - ContainerTiming: count entries dropped from a full buffer

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox163 fixed)

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

ContainerTiming: count entries dropped from a full buffer

container was missing from kDroppableEntryTypes, and AddContainerTiming
skipped AddToContainerTimingBuffer once the buffer was full, so
droppedEntriesCount never counted container entries. Calling it directly
on a full buffer would also dereference end() of the drop count map.

Register container as droppable and always call
AddToContainerTimingBuffer, which already does the full check.

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

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.