Closed Bug 1663788 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25441 - Add WPTs for invalid WC inputs

Categories

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

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Thomas Guilbert <tguilbert@chromium.org>' wrote:

Add WPTs for invalid WC inputs

These tests verify that a we can't create a VideoFrame from a closed
ImageBitmap or encode a destroyed frame.

Bug: 1116636, 1121255
Change-Id: Iba02d61128f5544550351408020223681a29b5a4

Reviewed-on: https://chromium-review.googlesource.com/2399448
WPT-Export-Revision: 3fac5febe6086436d5f2576bd8f1f23ae0991d05

CI Results

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

Total 2 tests and 5 subtests

Status Summary

Firefox

OK : 2
FAIL: 13

Chrome

OK : 2
PASS: 13

Safari

OK : 2
FAIL: 13

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/webcodecs/video-encoder.html
Test VideoEncoder construction: FAIL (Chrome: PASS, Safari: FAIL)
Test VideoEncoder.configure(): FAIL (Chrome: PASS, Safari: FAIL)
Test successful configure(), encode(), and flush(): FAIL (Chrome: PASS, Safari: FAIL)
Test successful encode() after re-configure().: FAIL (Chrome: PASS, Safari: FAIL)
Test encoder consumes (destroys) frames.: FAIL (Chrome: PASS, Safari: FAIL)
Verify closed VideoEncoder operations: FAIL (Chrome: PASS, Safari: FAIL)
Verify unconfigured VideoEncoder operations: FAIL (Chrome: PASS, Safari: FAIL)
Verify encoding destroyed frames throws.: FAIL (Chrome: PASS, Safari: FAIL)
/webcodecs/video-frame.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 destroyed VideoFrame.: FAIL (Chrome: PASS, Safari: FAIL)
Test constructing VideoFrames from closed ImageBitmap throws.: FAIL (Chrome: PASS, Safari: FAIL)

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.