[wpt-sync] Sync PR 62877 - Resume deferred media when loading attribute changes to eager
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62877 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62877
Details from upstream follow.
Helmut Januschka <helmut@januschka.com> wrote:
Resume deferred media when loading attribute changes to eager
The loading attribute's missing and invalid value defaults are both the
Eager state, so removing the attribute or setting it to a bogus value
must run the lazy load resumption steps, not just the literal "eager".Bug: 564285979
Change-Id: I9a42f22e44a93f6d8c7df4769baabc36c6dac57d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8438396
Reviewed-by: Dale Curtis \<dalecurtis@chromium.org>
Auto-Submit: Helmut Januschka \<helmut@januschka.com>
Commit-Queue: Dale Curtis \<dalecurtis@chromium.org>
Commit-Queue: Helmut Januschka \<helmut@januschka.com>
Cr-Commit-Position: refs/heads/main@{#1702866}
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=96097
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 32 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 20[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]
PASS : 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 13[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 19[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-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 3[GitHub] 17[Gecko-windows11-32-25h2-debug] 18[Gecko-windows11-32-25h2-opt] 19[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-windows11-64-25h2-debug] 20[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1
ERROR : 2
Chrome
PASS : 1
TIMEOUT: 3
Safari
OK : 1
FAIL : 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/semantics/embedded-content/the-video-element/video-poster-clone-template.html [wpt.fyi]:
FAIL - /html/semantics/embedded-content/the-video-element/video_initially_paused.html [wpt.fyi]:
FAIL - /html/semantics/embedded-content/the-video-element/video_timeupdate_on_seek.html [wpt.fyi]:
SKIP - /html/semantics/embedded-content/the-video-element/intrinsic_sizes.htm [wpt.fyi]
- default height is still 150:
FAIL - default width is still 300:
FAIL
- default height is still 150:
- /html/semantics/embedded-content/the-video-element/video-loading-autoplay-deferred.html [wpt.fyi]:
ERROR- Video with loading=lazy and autoplay that is not visible in viewport does not load video data or autoplay:
FAIL
- Video with loading=lazy and autoplay that is not visible in viewport does not load video data or autoplay:
- /html/semantics/embedded-content/the-video-element/video-loading-lazy-autoplay-when-visible.html [wpt.fyi]:
ERROR- Video with loading=lazy and autoplay does not play while not visible, then plays once scrolled into view:
FAIL[Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],TIMEOUT[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-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug]
- Video with loading=lazy and autoplay does not play while not visible, then plays once scrolled into view:
- /html/semantics/embedded-content/the-video-element/video-loading-lazy-disconnected.html [wpt.fyi]
- Video with loading=lazy does not load when not connected to document:
FAIL
- Video with loading=lazy does not load when not connected to document:
- /html/semantics/embedded-content/the-video-element/video-loading-lazy-load-when-visible.html [wpt.fyi]
- Video with loading=lazy does not fetch video while not visible, then fetches video once scrolled into view:
FAIL
- Video with loading=lazy does not fetch video while not visible, then fetches video once scrolled into view:
- /html/semantics/embedded-content/the-video-element/video-loading-lazy-not-rendered.html [wpt.fyi]
- In-viewport video with loading=lazy and no controls attribute, or display:none or hidden attribute should never load:
FAIL
- In-viewport video with loading=lazy and no controls attribute, or display:none or hidden attribute should never load:
- /html/semantics/embedded-content/the-video-element/video-loading-lazy-poster-when-visible.html [wpt.fyi]
- Video with loading=lazy does not fetch poster while not visible, then fetches poster once scrolled into view:
FAIL
- Video with loading=lazy does not fetch poster while not visible, then fetches poster once scrolled into view:
- /html/semantics/embedded-content/the-video-element/video-loading-lazy-resume-on-loading-attribute-change.html [wpt.fyi]
- Deferred loading=lazy video resumes when the loading attribute is eager:
FAIL(Chrome:PASS, Safari:FAIL) - Deferred loading=lazy video resumes when the loading attribute is removed:
FAIL(Chrome:TIMEOUT, Safari:FAIL) - Deferred loading=lazy video resumes when the loading attribute is invalid:
FAIL(Chrome:TIMEOUT, Safari:FAIL)
- Deferred loading=lazy video resumes when the loading attribute is eager:
- /html/semantics/embedded-content/the-video-element/video-loading-lazy-source-poster-deferred.html [wpt.fyi]
- Video with loading=lazy, poster and source does not load until visible:
FAIL
- Video with loading=lazy, poster and source does not load until visible:
- /html/semantics/embedded-content/the-video-element/video-loading-lazy-to-eager.html [wpt.fyi]
- Below-viewport video with loading='lazy' loads when changed to loading='eager' or when loading attribute is removed:
FAIL
- Below-viewport video with loading='lazy' loads when changed to loading='eager' or when loading attribute is removed:
- /html/semantics/embedded-content/the-video-element/video-loading-lazy-window-onload.html [wpt.fyi]
- Video with loading=lazy does not delay window onload event:
FAIL
- Video with loading=lazy does not delay window onload event:
- /html/semantics/embedded-content/the-video-element/video-loading-load-deferred.html [wpt.fyi]
- Video with loading=lazy that is not visible in viewport does not load video data:
FAIL
- Video with loading=lazy that is not visible in viewport does not load video data:
- /html/semantics/embedded-content/the-video-element/video-loading-load-preload-auto-deferred.html [wpt.fyi]
- Video with loading=lazy and preload=auto that is not visible in viewport does not load video data:
FAIL
- Video with loading=lazy and preload=auto that is not visible in viewport does not load video data:
- /html/semantics/embedded-content/the-video-element/video-loading-load-preload-metadata-deferred.html [wpt.fyi]
- Video with loading=lazy and preload=metadata that is not visible in viewport does not load video data:
FAIL
- Video with loading=lazy and preload=metadata that is not visible in viewport does not load video data:
- /html/semantics/embedded-content/the-video-element/video-loading-poster-deferred.html [wpt.fyi]
- Video with loading=lazy that is not visible in viewport does not load poster image:
FAIL
- Video with loading=lazy that is not visible in viewport does not load poster image:
Tests Disabled in Gecko Infrastructure
Comment 4•2 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3d418111b405
https://hg.mozilla.org/mozilla-central/rev/18ff93507448
Comment 5•2 months ago
|
||
| bugherder | ||
Description
•