Closed Bug 1694819 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 27769 - Split VideoFrameInit into VideoFramePlaneInit. Make optional.

Categories

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

task

Tracking

(firefox88 fixed)

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Dale Curtis <dalecurtis@chromium.org>' wrote:

Split VideoFrameInit into VideoFramePlaneInit. Make optional.

We hadn't been using the VideoFrameInit fields properly and it's
unclear how a user would know these values ahead of time, so just
make the timestamp and duration fields optional while removing all
resolution based fields.

R=chcunningham, sandersd

Bug: 1181894
Test: New tests.

Change-Id: I8ea04d2c1b4e5ef7fadb0a0287cd8adad5715862

Reviewed-on: https://chromium-review.googlesource.com/2718896
WPT-Export-Revision: d0015591b59f75a940ad144e4bd8eb9b73ed48b9

CI Results

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

Total 3 tests and 11 subtests

Status Summary

Firefox

OK : 3
FAIL : 23

Chrome

OK : 2
PASS : 20
FAIL : 2
TIMEOUT: 1
ERROR : 1

Safari

OK : 3
FAIL : 23

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/webcodecs/video-frame-from-video.html
Test <video> and VideoFrame constructed VideoFrame: FAIL (Chrome: TIMEOUT, Safari: FAIL)
/webcodecs/video-frame.any.worker.html
Test we can construct a VideoFrame.: 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: PASS, Safari: FAIL)
Test planar constructed NV12 VideoFrame: FAIL (Chrome: PASS, Safari: FAIL)
Test planar constructed RGB VideoFrames: FAIL (Chrome: PASS, Safari: FAIL)
Test VideoFrame constructed VideoFrame: 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 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: PASS, Safari: FAIL)
Test planar constructed NV12 VideoFrame: FAIL (Chrome: PASS, Safari: FAIL)
Test planar constructed RGB VideoFrames: FAIL (Chrome: PASS, Safari: FAIL)
Test VideoFrame constructed VideoFrame: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/adc06fec6881
[wpt PR 27769] - Split VideoFrameInit into VideoFramePlaneInit. Make optional., a=testonly
https://hg.mozilla.org/integration/autoland/rev/5a8297f55d77
[wpt PR 27769] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.