Closed Bug 2079261 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63329 - ElementTiming: "Commit" ElementTiming entries at paint time

Categories

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

task

Tracking

(firefox160 fixed)

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Scott Haseley <shaseley@chromium.org> wrote:

ElementTiming: "Commit" ElementTiming entries at paint time

This CL unifies emitting text and image element timing entries and
ensures we emit entries based on paint-time criteria, as opposed to
filtering at presentation, which we were doing for text but not images.
This changes things to capture the navigation ID at paint time, rather
than at presentation time.

This is a step towards creating all paint timing entries at paint time.
separating this part off and using ElementTimingInfo allows us to
decouple both splitting off ContainerTiming into its own client and
migrating LCP/ICP to committing to entries at paint time. In the next
patch, we'll do the LCP/ICP migration and change OnPaintFinished() to
return a callback, which for ElementTiming, will own/manage the list of
ElementTimingInfos (removing it from PaintTiming).

Bug: 454082773
Change-Id: I929355e7bc4cc24c4c6db043f40a4a8d190eeb82
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8412502
Reviewed-by: Michal Mocny \<mmocny@chromium.org>
Commit-Queue: Scott Haseley \<shaseley@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1712941}

CI Results

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

Total 44 tests and 1 subtests

Status Summary

Firefox

OK : 2
FAIL : 38
TIMEOUT: 12
ERROR : 36

Chrome

OK : 43
PASS : 42
CRASH : 1
FAIL : 1

Safari

OK : 2
FAIL : 38
TIMEOUT: 12
ERROR : 36

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/89414e064108 https://hg.mozilla.org/integration/autoland/rev/af591f6fc46c [wpt PR 63329] - ElementTiming: "Commit" ElementTiming entries at paint time, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.