[wpt-sync] Sync PR 63329 - ElementTiming: "Commit" ElementTiming entries at paint time
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox160 fixed)
| 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}
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=101389
| Assignee | ||
Comment 2•1 month ago
|
||
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
Details
New Tests That Don't Pass
- /soft-navigation-heuristics/back.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)history.back() properly works with SoftNavigationHeuristics:FAIL(Chrome:PASS, Safari:FAIL`)
- /soft-navigation-heuristics/click-event-bubbles.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Ensure event bubbling works well with soft navigations.:
FAIL(Chrome:PASS, Safari:FAIL)
- Ensure event bubbling works well with soft navigations.:
- /soft-navigation-heuristics/dropped-entries.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that a soft navigation entries get dropped when buffer limits get exceeded.:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that a soft navigation entries get dropped when buffer limits get exceeded.:
- /soft-navigation-heuristics/first-interaction-not-softnav.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- first interaction before a soft navigation:
FAIL(Chrome:PASS, Safari:FAIL)
- first interaction before a soft navigation:
- /soft-navigation-heuristics/hash.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Location hash changes properly works with SoftNavigationHeuristics:
FAIL(Chrome:PASS, Safari:FAIL)
- Location hash changes properly works with SoftNavigationHeuristics:
- /soft-navigation-heuristics/image-lcp-followed-by-image-softnav-lcp.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that an image LCP followup by a smaller soft navigation image LCP properly queues an LCP entry:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that an image LCP followup by a smaller soft navigation image LCP properly queues an LCP entry:
- /soft-navigation-heuristics/image-lcp-followed-by-text-softnav-lcp.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that an image LCP followup by a smaller soft navigation text LCP properly queues an LCP entry:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that an image LCP followup by a smaller soft navigation text LCP properly queues an LCP entry:
- /soft-navigation-heuristics/image-lcp-followed-by-two-image-softnavs-lcp.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Multiple soft navigations.:
FAIL(Chrome:PASS, Safari:FAIL)
- Multiple soft navigations.:
- /soft-navigation-heuristics/largest-painted-element-dynamic-change.tentative.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- Test that getLargestInteractionContentfulPaint() dynamically updates its return value as larger elements are painted:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
- Test that getLargestInteractionContentfulPaint() dynamically updates its return value as larger elements are painted:
- /soft-navigation-heuristics/largest-painted-element-multiple-paints-before-url.tentative.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- Test that the getLargestInteractionContentfulPaint() method is correctly set with multiple paints before URL change:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
- Test that the getLargestInteractionContentfulPaint() method is correctly set with multiple paints before URL change:
- /soft-navigation-heuristics/largest-painted-element-paint-first.tentative.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- Test that the getLargestInteractionContentfulPaint() method is correctly set when paint happens before URL change:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
- Test that the getLargestInteractionContentfulPaint() method is correctly set when paint happens before URL change:
- /soft-navigation-heuristics/largest-painted-element-url-first.tentative.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- Test that the getLargestInteractionContentfulPaint() method of a soft navigation entry is correctly set when URL change happens before paint:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
- Test that the getLargestInteractionContentfulPaint() method of a soft navigation entry is correctly set when URL change happens before paint:
- /soft-navigation-heuristics/lcp/tentative/contracted-image.html [wpt.fyi]
- Largest Contentful Paint: |size| attribute is bounded by display size after soft navigation.:
FAIL(Chrome:PASS, Safari:FAIL)
- Largest Contentful Paint: |size| attribute is bounded by display size after soft navigation.:
- /soft-navigation-heuristics/lcp/tentative/cross-origin-image.sub.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- Cross-origin image is observable after soft navigation, with renderTime equal to 0.:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
- Cross-origin image is observable after soft navigation, with renderTime equal to 0.:
- /soft-navigation-heuristics/lcp/tentative/expanded-image.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- Largest Contentful Paint after soft navigation: |size| attribute is bounded by intrinsic size.:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
- Largest Contentful Paint after soft navigation: |size| attribute is bounded by intrinsic size.:
- /soft-navigation-heuristics/load-classic-script-history-push.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Detect a soft navigation triggered from external classic script:
FAIL(Chrome:PASS, Safari:FAIL)
- Detect a soft navigation triggered from external classic script:
- /soft-navigation-heuristics/load-module-script-history-push.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Detect a soft navigation triggered from external module script:
FAIL(Chrome:PASS, Safari:FAIL)
- Detect a soft navigation triggered from external module script:
- /soft-navigation-heuristics/multiple-nested-events.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test multiple nested navigate events:
FAIL(Chrome:PASS, Safari:FAIL)
- Test multiple nested navigate events:
- /soft-navigation-heuristics/multiple-paint-entries-buffered.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that multiple soft navigation buffer entries:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that multiple soft navigation buffer entries:
- /soft-navigation-heuristics/navigate-child.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that a navigated child window doesn't crash:
FAIL(Chrome:FAIL, Safari:FAIL)
- Test that a navigated child window doesn't crash:
- /soft-navigation-heuristics/navigation-api-back.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)navigation.back()properly works with SoftNavigationHeuristics:FAIL(Chrome:PASS, Safari:FAIL)
- /soft-navigation-heuristics/navigation-api-forward.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)navigation.forward()properly works with SoftNavigationHeuristics:FAIL(Chrome:PASS, Safari:FAIL)
- /soft-navigation-heuristics/navigation-api-hash.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test soft navigation with the Navigation API:
FAIL(Chrome:PASS, Safari:FAIL)
- Test soft navigation with the Navigation API:
- /soft-navigation-heuristics/navigation-api-precommit.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test soft navigation when navigate event intecepts with a precommit handler:
FAIL(Chrome:PASS, Safari:FAIL)
- Test soft navigation when navigate event intecepts with a precommit handler:
- /soft-navigation-heuristics/navigation-api-rejected.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test intercepted and rejected navigate event:
FAIL(Chrome:PASS, Safari:FAIL)
- Test intercepted and rejected navigate event:
- /soft-navigation-heuristics/navigation-api-traverseto.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)navigation.traverseTo()properly works with SoftNavigationHeuristics:FAIL(Chrome:PASS, Safari:FAIL)
- /soft-navigation-heuristics/navigation-api-view-transition.tentative.html [wpt.fyi]:
ERROR(Chrome:CRASH, Safari:ERROR)- Navigation API interception handler + startViewTransition properly detects soft navigations:
FAIL(Safari:FAIL)
- Navigation API interception handler + startViewTransition properly detects soft navigations:
- /soft-navigation-heuristics/navigation-api.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test soft navigation with the Navigation API:
FAIL(Chrome:PASS, Safari:FAIL)
- Test soft navigation with the Navigation API:
- /soft-navigation-heuristics/navigationId-attributions.tentative.html [wpt.fyi]
- Entries have navigationId properly attributed before and after soft navigation:
FAIL(Chrome:PASS, Safari:FAIL)
- Entries have navigationId properly attributed before and after soft navigation:
- /soft-navigation-heuristics/pointerup-soft-navigation-detection.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that a soft navigation is detected from pointerup:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that a soft navigation is detected from pointerup:
- /soft-navigation-heuristics/popstate-multiple-backs.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- A soft navigation that started from a back() call inside a popstate event is recognized by SoftNavigationHeuristics:
FAIL(Chrome:PASS, Safari:FAIL)
- A soft navigation that started from a back() call inside a popstate event is recognized by SoftNavigationHeuristics:
- /soft-navigation-heuristics/popstate.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- A soft navigation that uses a same-document initiated popstate event is recognized by SoftNavigationHeuristics:
FAIL(Chrome:PASS, Safari:FAIL)
- A soft navigation that uses a same-document initiated popstate event is recognized by SoftNavigationHeuristics:
- /soft-navigation-heuristics/replacestate-null-then-push.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Detect soft navigation with replaceState that has a null URL, then pushState with the URL:
FAIL(Chrome:PASS, Safari:FAIL)
- Detect soft navigation with replaceState that has a null URL, then pushState with the URL:
- /soft-navigation-heuristics/second-interaction-not-softnav.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Second interaction in the middle of a soft navigation:
FAIL(Chrome:PASS, Safari:FAIL)
- Second interaction in the middle of a soft navigation:
- /soft-navigation-heuristics/soft-navigation-detection-main-descendent.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that a soft navigation is detected even when DOM change is done on a main descendent:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that a soft navigation is detected even when DOM change is done on a main descendent:
- /soft-navigation-heuristics/soft-navigation-detection-web-component-lifecycle.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that a soft navigation is detected when the click is done on a custom element.:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that a soft navigation is detected when the click is done on a custom element.:
- /soft-navigation-heuristics/soft-navigation-detection.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that a soft navigation is detected:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that a soft navigation is detected:
- /soft-navigation-heuristics/softnav-after-lcp-paint-larger-than-viewport.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that an image LCP followed by a smaller soft navigation LCP properly queues an LCP entry, even when the soft navigation is detected after the LCP, even when initial paints significantly exceed the viewport dimensions.:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that an image LCP followed by a smaller soft navigation LCP properly queues an LCP entry, even when the soft navigation is detected after the LCP, even when initial paints significantly exceed the viewport dimensions.:
- /soft-navigation-heuristics/softnav-after-lcp-paint.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that an image LCP followed by a smaller soft navigation LCP properly queues an LCP entry, even when the soft navigation is detected after the LCP.:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that an image LCP followed by a smaller soft navigation LCP properly queues an LCP entry, even when the soft navigation is detected after the LCP.:
- /soft-navigation-heuristics/softnav-between-lcp-render-and-paint.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that an image LCP followed by a smaller soft navigation LCP properly queues an LCP entry, even when the soft navigation is detected between the LCP's render and paint.:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that an image LCP followed by a smaller soft navigation LCP properly queues an LCP entry, even when the soft navigation is detected between the LCP's render and paint.:
- /soft-navigation-heuristics/text-lcp-followed-by-anim-image-softnav-lcp.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that a text LCP followup by an animaged image properly queues a soft navigation entry:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that a text LCP followup by an animaged image properly queues a soft navigation entry:
- /soft-navigation-heuristics/text-lcp-followed-by-image-softnav-lcp.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that a text LCP followup by a smaller soft navigation image LCP properly queues an LCP entry:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that a text LCP followup by a smaller soft navigation image LCP properly queues an LCP entry:
- /soft-navigation-heuristics/text-lcp-followed-by-text-softnav-lcp.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that a text LCP followup by a smaller soft navigation text LCP properly queues an LCP entry:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that a text LCP followup by a smaller soft navigation text LCP properly queues an LCP entry:
- /soft-navigation-heuristics/visited-link.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Test that a visited link doesn't trigger LCP after a soft navigation is detected:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that a visited link doesn't trigger LCP after a soft navigation is detected:
Comment 4•1 month ago
|
||
| bugherder | ||
Description
•