Closed Bug 2087207 Opened 1 month ago Closed 23 days ago

[wpt-sync] Sync PR 64037 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=328453

Categories

(Core :: Audio/Video: Web Codecs, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

Sync web-platform-tests PR 64037 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64037
Details from upstream follow.

Youenn Fablet <youenn@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=328453

WebKit export from bug: Rotated VideoFrames should be properly rendered

<pre>
Rotated VideoFrames should be properly rendered

We introduce VideoFrame::orientation and VideoFrame::rotatedSize as helpers.
We then use those when creating an image bitmap or when rendering to canvas 2d/webgl.
When we need RGB data from video frames via getNativeImage, we apply the rotation in GPU process then convert to RGB as NativeImage does not handle rotation.
We add specific handling for MediaPlayerPrivateMediaStreamAVFObjC which, in WK1 still needs to handle rotation when painting a video frame.

Covered by added WPT tests.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=328453">https://bugs.webkit.org/show_bug.cgi?id=328453</a>
</pre>

Component: web-platform-tests → Audio/Video: Web Codecs
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Attached file Notable wpt changes —

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 271 tests and 6 subtests

Status Summary

Firefox

OK : 6[GitHub] 188[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] 252[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 254[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 1666[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] 2316[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 2414[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL : 28[GitHub] 379[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] 390[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 : 6
PASS : 28

Safari

OK : 6
FAIL : 28

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 23 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: