[wpt-sync] Sync PR 64653 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=317524
Categories
(Core :: Audio/Video: Web Codecs, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
466.18 KB,
text/plain
|
Details |
Sync web-platform-tests PR 64653 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64653
Details from upstream follow.
Ahmad Saleem <ahmad.saleem792+github@gmail.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=317524
WebKit export from bug: ArrayBuffer-<!---->backed YUV VideoFrame with visibleRect is rendered incorrectly (<!---->chroma channels are offset)<!---->
<pre>
ArrayBuffer-backed I420/NV12 VideoFrame with codedHeight larger than visibleRect.height renders chroma offsetThis patch aligns WebKit with Gecko / Firefox and Blink / Chromium.
A buffer-backed VideoFrame is laid out for its coded size, with visibleRect only
cropping the output. But createI420/createI420A/createNV12 derived each chroma
plane's offset from the visible output height instead of the coded plane height,
so a frame whose codedHeight exceeds visibleRect.height (e.g. coded 1920x1088
shown as 1920x1080, or 320x196 shown as 320x180) read the bottom Y rows as chroma,
producing a chroma offset. Use the coded plane height (sourceHeight /
destinationOffset) for the offsets; the output size and crop are unchangedUpstream has changed this file since WebKit last imported it, so this adds the test to upstream's current version.
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=317524">https://bugs.webkit.org/show_bug.cgi?id=317524</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/315742@main">https://commits.webkit.org/315742@main</a>
</pre>
| Assignee | ||
Updated•20 days ago
|
| Assignee | ||
Comment 1•20 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=119913
| Assignee | ||
Comment 2•19 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 296 tests and 20 subtests
Status Summary
Firefox
OK : 2[GitHub] 213[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] 277[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 279[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 38[GitHub] 2181[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] 2803[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 2901[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL : 4[GitHub] 880[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] 919[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PRECONDITION_FAILED: 23[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 125[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 549[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]
ERROR : 4[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 12[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]
NOTRUN : 40
Chrome
OK : 2
PASS : 42
Safari
OK : 2
PASS : 40
FAIL : 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /webcodecs/videoFrame-copyTo.any.html [wpt.fyi]
- copyTo from byte data with codedHeight larger than visibleRect height:
FAIL
- copyTo from byte data with codedHeight larger than visibleRect height:
- /webcodecs/videoFrame-copyTo.any.worker.html [wpt.fyi]
- copyTo from byte data with codedHeight larger than visibleRect height:
FAIL
- copyTo from byte data with codedHeight larger than visibleRect height:
(See attachment for full changes)
Comment 4•16 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0533525a70c2
https://hg.mozilla.org/mozilla-central/rev/69962bfccb51
Description
•