[wpt-sync] Sync PR 65002 - ContainerTiming: attribute paints and create entries at paint time
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox163 fixed)
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 65002 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/65002
Details from upstream follow.
Jose Dapena Paz <jdapena@igalia.com> wrote:
ContainerTiming: attribute paints and create entries at paint time
Paints were replayed through the attribution tracker at presentation
time, when the DOM and tracker may have changed since the paint, and
entries took the navigation id current at presentation.Attribute each paint and grow the container records during paint, and
create the entries at the end of paint, like element timing. The
presentation callback only sets their timing and navigation id with
FinalizeEntry(), then reports them. Only the records that grew since
the last entries are kept, so creating entries does not scan every
record.Changing or removing containertiming, or detaching the element, after
paint no longer affects entries for that paint. See [1] and [2].
Disconnecting a container root still drops its record, but an entry
already created for that paint is reported.[1] https://github.com/w3c/container-timing/issues/87
[2] https://github.com/w3c/container-timing/pull/88Bug: 535107494
Change-Id: Ib2c3758f546a13a54c46ec1e145cf616919d968b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8713905
Reviewed-by: Scott Haseley \<shaseley@chromium.org>
Commit-Queue: José Dapena Paz \<jdapena@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1740698}
| Assignee | ||
Comment 1•15 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=122233
| Assignee | ||
Comment 2•15 days ago
|
||
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
PASS: 1
Safari
OK : 1
FAIL: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /container-timing/tentative/containertiming-first-render-time-kept.html [wpt.fyi]
- firstRenderTime keeps the time of the first update.:
FAIL(Chrome:PASS, Safari:FAIL)
- firstRenderTime keeps the time of the first update.:
Comment 4•13 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/52e4158ea743
https://hg.mozilla.org/mozilla-central/rev/23c5f441aeb7
Description
•