[wpt-sync] Sync PR 49703 - Support PaintTimingMixin in LCP
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox136 fixed)
Tracking | Status | |
---|---|---|
firefox136 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 49703 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/49703
Details from upstream follow.
Noam Rosenthal <nrosenthal@chromium.org> wrote:
Support PaintTimingMixin in LCP
This make the implementation look very close to
https://w3c.github.io/paint-timing/#mark-paint-timingThe render coarsening and queuing logic is all consolidated
into PaintTiming::MarkPaintTimingInternal.Also previous alignment mechanisms such as the buffer in
WindowPerformance and clamping to FCP are no longer needed.Bug: 381270287
Change-Id: I9ef0a1ebbc9417e2d65415712fbbb554df64d8d3
Reviewed-on: https://chromium-review.googlesource.com/6087964
WPT-Export-Revision: 4e34ee3ef03ede938c36258a3c12ff3d11ecfaea
Assignee | ||
Comment 1•2 months ago
|
||
Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 43 tests and 1 subtests
Status Summary
Firefox
OK
: 37[Gecko-linux1804-64-qr-debug] 38[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] 42[GitHub]
PASS
: 15[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] 17[GitHub]
FAIL
: 32[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] 34[GitHub]
TIMEOUT
: 2
Chrome
OK
: 42
PASS
: 18
FAIL
: 33
TIMEOUT
: 2
Safari
OK
: 37
FAIL
: 37
TIMEOUT
: 8
ERROR
: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /largest-contentful-paint/animated/observe-video.tentative.html [wpt.fyi]:
SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
],TIMEOUT
[GitHub
]
New Tests That Don't Pass
- /largest-contentful-paint/animated/observe-video.tentative.html [wpt.fyi]:
SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
],TIMEOUT
[GitHub
] (Chrome:OK
, Safari:OK
)- Same origin animated image is observable and has a first frame.:
TIMEOUT
(Chrome:PASS
, Safari:FAIL
)
- Same origin animated image is observable and has a first frame.:
- /largest-contentful-paint/animated/observe-animated-image-gif.tentative.html [wpt.fyi]
- Same origin animated image is observable and has a first frame.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Same origin animated image is observable and has a first frame.:
- /largest-contentful-paint/animated/observe-animated-image-webp.tentative.html [wpt.fyi]
- Same origin animated image is observable and has a first frame.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Same origin animated image is observable and has a first frame.:
- /largest-contentful-paint/animated/observe-animated-image.tentative.html [wpt.fyi]
- Same origin animated image is observable and has a first frame.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Same origin animated image is observable and has a first frame.:
- /largest-contentful-paint/animated/observe-cross-origin-animated-image.tentative.html [wpt.fyi]
- Same origin animated image is observable and has a first frame.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Same origin animated image is observable and has a first frame.:
- /largest-contentful-paint/animated/observe-cross-origin-tao-animated-image.tentative.html [wpt.fyi]
- Same origin animated image is observable and has a first frame.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Same origin animated image is observable and has a first frame.:
- /largest-contentful-paint/animated/observe-non-animated-image.tentative.html [wpt.fyi]
- Same origin animated image is observable and has a first frame.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Same origin animated image is observable and has a first frame.:
- /largest-contentful-paint/contracted-image.html [wpt.fyi]
- Largest Contentful Paint: |size| attribute is bounded by display size.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Largest Contentful Paint: |size| attribute is bounded by display size.:
- /largest-contentful-paint/cross-origin-image.sub.html [wpt.fyi]
- Cross-origin image is observable, with renderTime equal to 0.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Cross-origin image is observable, with renderTime equal to 0.:
- /largest-contentful-paint/expanded-image.html [wpt.fyi]
- Largest Contentful Paint: |size| attribute is bounded by intrinsic size.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Largest Contentful Paint: |size| attribute is bounded by intrinsic size.:
- /largest-contentful-paint/image-TAO.sub.html [wpt.fyi]
- Cross-origin elements with valid TAO have correct renderTime, with invalid TAO have renderTime set to 0.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Cross-origin elements with valid TAO have correct renderTime, with invalid TAO have renderTime set to 0.:
- /largest-contentful-paint/image-inside-svg.html [wpt.fyi]
- Image inside SVG is observable.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Image inside SVG is observable.:
- /largest-contentful-paint/image-not-fully-visible.html [wpt.fyi]
- The intersectionRect of an img element overflowing is computed correctly:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- The intersectionRect of an img element overflowing is computed correctly:
- /largest-contentful-paint/image-removed-before-load.html [wpt.fyi]
- Largest Contentful Paint: image removed before loaded does not produce entry.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Largest Contentful Paint: image removed before loaded does not produce entry.:
- /largest-contentful-paint/image-src-change.html [wpt.fyi]
- Largest Contentful Paint: changing src causes a new entry to be dispatched.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Largest Contentful Paint: changing src causes a new entry to be dispatched.:
- /largest-contentful-paint/image-upscaling.html [wpt.fyi]
- An upscaled image (width/height) should report the natural size:
FAIL
(Chrome:PASS
) - A background image smaller than the container should report the natural size:
FAIL
(Chrome:PASS
)
- An upscaled image (width/height) should report the natural size:
- /largest-contentful-paint/loadTime-after-appendChild.html [wpt.fyi]:
OK
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
,GitHub
],SKIP
[Gecko-linux1804-64-qr-debug
] (Chrome:OK
, Safari:OK
)- Image loadTime occurs after appendChild is called.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Image loadTime occurs after appendChild is called.:
- /largest-contentful-paint/multiple-image-same-src.html [wpt.fyi]
- Largest Contentful Paint:dynamically appended image with different dimensions but same src triggers new entry.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Largest Contentful Paint:dynamically appended image with different dimensions but same src triggers new entry.:
- /largest-contentful-paint/multiple-redirects-TAO.html [wpt.fyi]
- Cross-origin images with passing/failing TAO should/shouldn't have its renderTime set.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Cross-origin images with passing/failing TAO should/shouldn't have its renderTime set.:
- /largest-contentful-paint/observe-after-untrusted-scroll.html [wpt.fyi]
- Same-origin image after a JS initiated scroll event is observable.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Same-origin image after a JS initiated scroll event is observable.:
- /largest-contentful-paint/observe-css-generated-image.html [wpt.fyi]
- Largest Contentful Paint: CSS generated image is observable.:
FAIL
(Chrome:TIMEOUT
, Safari:FAIL
)
- Largest Contentful Paint: CSS generated image is observable.:
- /largest-contentful-paint/observe-image.html [wpt.fyi]
- Same-origin image is observable.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Same-origin image is observable.:
- /largest-contentful-paint/observe-svg-background-image.html [wpt.fyi]
- Same-origin SVG background image is observable.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Same-origin SVG background image is observable.:
- /largest-contentful-paint/observe-svg-data-uri-background-image.html [wpt.fyi]
- Data-URI background SVG image is observable.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Data-URI background SVG image is observable.:
- /largest-contentful-paint/observe-svg-data-uri-image.html [wpt.fyi]
- Same-origin image is observable.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Same-origin image is observable.:
- /largest-contentful-paint/observe-svg-image.html [wpt.fyi]
- Same-origin image is observable.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Same-origin image is observable.:
- /largest-contentful-paint/observe-text.html [wpt.fyi]
- Text element is observable as a LargestContentfulPaint candidate.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Text element is observable as a LargestContentfulPaint candidate.:
- /largest-contentful-paint/placeholder-image.html [wpt.fyi]
- Largest Contentful Paint: changing src causes a new entry to be dispatched.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Largest Contentful Paint: changing src causes a new entry to be dispatched.:
- /largest-contentful-paint/redirects-tao-star.html [wpt.fyi]
- Cross-origin image without TAO should not have its renderTime set, with full TAO it should.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Cross-origin image without TAO should not have its renderTime set, with full TAO it should.:
- /largest-contentful-paint/repeated-image.html [wpt.fyi]
- Repeated image produces different timestamps.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Repeated image produces different timestamps.:
- /largest-contentful-paint/same-origin-redirects.html [wpt.fyi]
- Same-origin image redirect without TAO should have its renderTime set.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Same-origin image redirect without TAO should have its renderTime set.:
- /largest-contentful-paint/video-poster.html [wpt.fyi]
- Able to observe a video's poster image.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Able to observe a video's poster image.:
- /largest-contentful-paint/non-tao-image-load-before-fcp-render-after.tentative.html [wpt.fyi]
- Non-Tao Image Load Before FCP and Render After FCP.:
FAIL
(Chrome:FAIL
, Safari:TIMEOUT
)
- Non-Tao Image Load Before FCP and Render After FCP.:
- /largest-contentful-paint/non-tao-image-subsequent-lcp-candidate.tentative.html [wpt.fyi]
- Non-Tao Image Subsequent LCP candidates.:
FAIL
(Chrome:FAIL
, Safari:TIMEOUT
)
- Non-Tao Image Subsequent LCP candidates.:
Tests Disabled in Gecko Infrastructure
- /largest-contentful-paint/animated/observe-video.tentative.html [wpt.fyi]:
SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
],TIMEOUT
[GitHub
] (Chrome:OK
, Safari:OK
) - /largest-contentful-paint/loadTime-after-appendChild.html [wpt.fyi]:
OK
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
,GitHub
],SKIP
[Gecko-linux1804-64-qr-debug
] (Chrome:OK
, Safari:OK
)
https://hg.mozilla.org/mozilla-central/rev/056da8f6f4b1
https://hg.mozilla.org/mozilla-central/rev/e0a13fcd2269
Description
•