Closed Bug 1715395 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 29291 - [webcodecs] Use network byte order for format names.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox91 fixed)

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Dan Sanders <sandersd@chromium.org>' wrote:

[webcodecs] Use network byte order for format names.

This CL renames the WebCodecs RGB formats to be named in network byte
order. It also removes the X (opaque) variants. This does mean that it
is not always possible to determine whether a VideoFrame has alpha, that
will need to be fixed with a separate hasAlpha property.

Bug: 1204349
Change-Id: Id60987cf2f115bd546fea2b84b54ff6f61fd1b5c
Reviewed-on: https://chromium-review.googlesource.com/2946350
WPT-Export-Revision: 5e26d6579d21fbb6a29771fb7a7164852c3c0250

CI Results

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

Total 8 tests and 4 subtests

Status Summary

Firefox

OK : 8
FAIL: 78

Chrome

OK : 8
PASS: 46
FAIL: 32

Safari

OK : 8
FAIL: 78

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/webcodecs/video-frame.any.worker.html
Test we can construct a VideoFrame.: FAIL (Chrome: PASS, Safari: FAIL)
Test we can construct a VideoFrame with a negative timestamp.: FAIL (Chrome: PASS, Safari: FAIL)
Test we can construct an odd-sized VideoFrame.: FAIL (Chrome: PASS, Safari: FAIL)
Test we can read planar data from a VideoFrame.: FAIL (Chrome: PASS, Safari: FAIL)
Test we cannot read planar data from a closed VideoFrame.: FAIL (Chrome: PASS, Safari: FAIL)
Test constructing VideoFrames from closed ImageBitmap throws.: FAIL (Chrome: PASS, Safari: FAIL)
Test invalid planar constructed VideoFrames: FAIL (Chrome: PASS, Safari: FAIL)
Test planar constructed I420 VideoFrame: FAIL (Chrome: PASS, Safari: FAIL)
Test planar constructed I420+Alpha VideoFrame: FAIL (Chrome: FAIL, Safari: FAIL)
Test planar constructed NV12 VideoFrame: FAIL (Chrome: PASS, Safari: FAIL)
Test planar constructed RGB VideoFrames: FAIL (Chrome: FAIL, Safari: FAIL)
Test VideoFrame constructed VideoFrame: FAIL (Chrome: PASS, Safari: FAIL)
Test we can construct a VideoFrame from an offscreen canvas.: FAIL (Chrome: PASS, Safari: FAIL)
Test I420A VideoFrame and alpha={keep,discard}: FAIL (Chrome: FAIL, Safari: FAIL)
Test RGBA, BGRA VideoFrames with alpha={keep,discard}: FAIL (Chrome: FAIL, Safari: FAIL)
Test a VideoFrame constructed from canvas can drop the alpha channel.: FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/video-frame.any.html
Test we can construct a VideoFrame.: FAIL (Chrome: PASS, Safari: FAIL)
Test we can construct a VideoFrame with a negative timestamp.: FAIL (Chrome: PASS, Safari: FAIL)
Test we can construct an odd-sized VideoFrame.: FAIL (Chrome: PASS, Safari: FAIL)
Test we can read planar data from a VideoFrame.: FAIL (Chrome: PASS, Safari: FAIL)
Test we cannot read planar data from a closed VideoFrame.: FAIL (Chrome: PASS, Safari: FAIL)
Test constructing VideoFrames from closed ImageBitmap throws.: FAIL (Chrome: PASS, Safari: FAIL)
Test invalid planar constructed VideoFrames: FAIL (Chrome: PASS, Safari: FAIL)
Test planar constructed I420 VideoFrame: FAIL (Chrome: PASS, Safari: FAIL)
Test planar constructed I420+Alpha VideoFrame: FAIL (Chrome: FAIL, Safari: FAIL)
Test planar constructed NV12 VideoFrame: FAIL (Chrome: PASS, Safari: FAIL)
Test planar constructed RGB VideoFrames: FAIL (Chrome: FAIL, Safari: FAIL)
Test VideoFrame constructed VideoFrame: FAIL (Chrome: PASS, Safari: FAIL)
Test we can construct a VideoFrame from an offscreen canvas.: FAIL (Chrome: PASS, Safari: FAIL)
Test I420A VideoFrame and alpha={keep,discard}: FAIL (Chrome: FAIL, Safari: FAIL)
Test RGBA, BGRA VideoFrames with alpha={keep,discard}: FAIL (Chrome: FAIL, Safari: FAIL)
Test a VideoFrame constructed from canvas can drop the alpha channel.: FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/videoFrame-copyTo.any.worker.html
Test I420 frame.: FAIL (Chrome: PASS, Safari: FAIL)
Test RGBA frame.: FAIL (Chrome: FAIL, Safari: FAIL)
Test undersized buffer.: FAIL (Chrome: PASS, Safari: FAIL)
Test incorrect plane count.: FAIL (Chrome: PASS, Safari: FAIL)
Test stride and offset work.: FAIL (Chrome: PASS, Safari: FAIL)
Test stride and offset with padding.: FAIL (Chrome: PASS, Safari: FAIL)
Test invalid stride.: FAIL (Chrome: PASS, Safari: FAIL)
Test address overflow.: FAIL (Chrome: PASS, Safari: FAIL)
Test codedRect.: FAIL (Chrome: PASS, Safari: FAIL)
Test empty rect.: FAIL (Chrome: PASS, Safari: FAIL)
Test unaligned rect.: FAIL (Chrome: PASS, Safari: FAIL)
Test left crop.: FAIL (Chrome: PASS, Safari: FAIL)
Test invalid rect.: FAIL (Chrome: PASS, Safari: FAIL)
/webcodecs/videoFrame-copyTo.any.html
Test I420 frame.: FAIL (Chrome: PASS, Safari: FAIL)
Test RGBA frame.: FAIL (Chrome: FAIL, Safari: FAIL)
Test undersized buffer.: FAIL (Chrome: PASS, Safari: FAIL)
Test incorrect plane count.: FAIL (Chrome: PASS, Safari: FAIL)
Test stride and offset work.: FAIL (Chrome: PASS, Safari: FAIL)
Test stride and offset with padding.: FAIL (Chrome: PASS, Safari: FAIL)
Test invalid stride.: FAIL (Chrome: PASS, Safari: FAIL)
Test address overflow.: FAIL (Chrome: PASS, Safari: FAIL)
Test codedRect.: FAIL (Chrome: PASS, Safari: FAIL)
Test empty rect.: FAIL (Chrome: PASS, Safari: FAIL)
Test unaligned rect.: FAIL (Chrome: PASS, Safari: FAIL)
Test left crop.: FAIL (Chrome: PASS, Safari: FAIL)
Test invalid rect.: FAIL (Chrome: PASS, Safari: FAIL)
/webcodecs/videoFrame-drawImage.any.worker.html
drawImage(VideoFrame) with canvas(48x36 srgb uint8).: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with canvas(480x360 srgb uint8).: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with canvas(48x36 display-p3 uint8).: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with canvas(480x360 display-p3 uint8).: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with canvas(48x36 rec2020 uint8).: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with canvas(480x360 rec2020 uint8).: FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/videoFrame-drawImage.any.html
drawImage(VideoFrame) with canvas(48x36 srgb uint8).: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with canvas(480x360 srgb uint8).: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with canvas(48x36 display-p3 uint8).: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with canvas(480x360 display-p3 uint8).: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with canvas(48x36 rec2020 uint8).: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with canvas(480x360 rec2020 uint8).: FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/videoFrame-texImage.any.html
drawImage(VideoFrame) with texImage2D (48x36) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with texSubImage2D (48x36) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with texImage2D (480x360) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with texSubImage2D (480x360) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/videoFrame-texImage.any.worker.html
drawImage(VideoFrame) with texImage2D (48x36) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with texSubImage2D (48x36) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with texImage2D (480x360) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)
drawImage(VideoFrame) with texSubImage2D (480x360) srgb.: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3d984b863e6d [wpt PR 29291] - [webcodecs] Use network byte order for format names., a=testonly https://hg.mozilla.org/integration/autoland/rev/d8ddf7c9082a [wpt PR 29291] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.