[wpt-sync] Sync PR 63567 - Fix two largest-contentful-paint tests whose assertions never ran
Categories
(Core :: DOM: Performance APIs, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63567 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63567
Details from upstream follow.
Shubham Gupta <shubhamg13.work@gmail.com> wrote:
Fix two largest-contentful-paint tests whose assertions never ran
larger-image.htmlandprogressively-loaded-image.htmlregistered theirPerformanceObservercallbacks with t.step_func() / t.step_func_done() inside a promise_test whose body returned before the entry was dispatched.Steps of an already-completed test are ignored, so both files passed without executing any of their checks.
Solution: Wait for the entry in the test body and run the checks there instead.
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=104705
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 72 tests and 1 subtests
Status Summary
Firefox
OK : 2[GitHub] 69[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-opt] 70[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug]
PASS : 2[GitHub] 108[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 10[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-opt] 11[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug]
TIMEOUT: 2
Chrome
OK : 2
PASS : 2
Safari
OK : 2
PASS : 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /largest-contentful-paint/animated/observe-video.tentative.html [wpt.fyi]:
SKIP - /largest-contentful-paint/video-data-uri.html [wpt.fyi]:
SKIP - /largest-contentful-paint/animated/observe-animated-image-gif.tentative.html [wpt.fyi]
- Same origin animated image is observable and has a first frame.:
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
- 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
- Same origin animated image is observable and has a first frame.:
- /largest-contentful-paint/image-upscaling-empty-url.html [wpt.fyi]
- A background image smaller than the container should report the natural size:
FAIL
- A background image smaller than the container should report the natural size:
- /largest-contentful-paint/image-upscaling.html [wpt.fyi]
- A background image smaller than the container should report the natural size:
FAIL
- A background image smaller than the container should report the natural size:
- /largest-contentful-paint/initially-invisible-images.html [wpt.fyi]
- Image visibility: out-of-viewport images are observable by LargestContentfulPaint once they become visible.:
FAIL
- Image visibility: out-of-viewport images are observable by LargestContentfulPaint once they become visible.:
- /largest-contentful-paint/performance-entry-sequence.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug],TIMEOUT[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-64-25h2-opt]- Exactly one LargestContentfulPaint entry is emitted per frame when a new candidate is rendered:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug],TIMEOUT[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-64-25h2-opt]
- Exactly one LargestContentfulPaint entry is emitted per frame when a new candidate is rendered:
- /largest-contentful-paint/text-fragment-union.html [wpt.fyi]
- Text fragment union: wrapped text LCP size reflects the union of all line boxes.:
FAIL
- Text fragment union: wrapped text LCP size reflects the union of all line boxes.:
- /largest-contentful-paint/web-font-styled-text-resize-swap-after-interaction.html [wpt.fyi]
- LCP should be not updated if the web font styled text resize occurs after an interaction happens:
FAIL
- LCP should be not updated if the web font styled text resize occurs after an interaction happens:
- /largest-contentful-paint/web-font-styled-text-resize-swap-subnode.html [wpt.fyi]
- LCP should be updated if the web font styled text resizes to be larger during the swap period:
FAIL
- LCP should be updated if the web font styled text resizes to be larger during the swap period:
- /largest-contentful-paint/web-font-styled-text-resize-swap.html [wpt.fyi]
- LCP should be updated if the web font styled text resizes to be larger during the swap period:
FAIL
- LCP should be updated if the web font styled text resizes to be larger during the swap period:
Tests Disabled in Gecko Infrastructure
Comment 4•1 month ago
|
||
| bugherder | ||
Description
•