Closed Bug 1766719 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33822 - [webcodecs] Cleanup deprecated spec violations

Categories

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

task

Tracking

(firefox102 fixed)

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Chris Cunningham <chcunningham@chromium.org> wrote:

[webcodecs] Cleanup deprecated spec violations

We removed support for two minor spec violations back in M99. This CL
removes the flags and deprecation warnings associated w/ the deprecated
behavior.

Bug: 1318880, 1275024, 1281015
Change-Id: I449edd464db83a6f1cde728f5326abe7b68933ea
Reviewed-on: https://chromium-review.googlesource.com/3611547
WPT-Export-Revision: 06bc81cc7599b43b9079f89705a2be5f03fc7103

CI Results

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

Total 9 tests and 2 subtests

Status Summary

Firefox

OK : 9
PASS: 1
FAIL: 100

Chrome

OK : 9
PASS: 101

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webcodecs/videoFrame-construction.any.worker.html [wpt.fyi]
    • Test we can construct a VideoFrame.: FAIL (Chrome: PASS)
    • Test closed VideoFrame.: FAIL (Chrome: PASS)
    • Test we can construct a VideoFrame with a negative timestamp.: FAIL (Chrome: PASS)
    • Test that timestamp is required when constructing VideoFrame from ImageBitmap: FAIL (Chrome: PASS)
    • Test that timestamp is required when constructing VideoFrame from OffscreenCanvas: FAIL (Chrome: PASS)
    • Test that timestamp is NOT required when constructing VideoFrame from another VideoFrame: FAIL (Chrome: PASS)
    • Test we can construct an odd-sized VideoFrame.: FAIL (Chrome: PASS)
    • Test constructing w/ unusable image argument throws: emtpy Canvas.: FAIL (Chrome: PASS)
    • Test constructing w/ unusable image argument throws: closed ImageBitmap.: FAIL (Chrome: PASS)
    • Test constructing w/ unusable image argument throws: closed VideoFrame.: FAIL (Chrome: PASS)
    • Test invalid CanvasImageSource constructed VideoFrames: FAIL (Chrome: PASS)
    • Test visibleRect metadata override where source display size = visible size: FAIL (Chrome: PASS)
    • Test visibleRect metadata override where source display width = 2 * visible width (anamorphic): FAIL (Chrome: PASS)
    • Test visibleRect metadata override where source display size = 2 * visible size for both width and height: FAIL (Chrome: PASS)
    • Test visibleRect + display size metadata override: FAIL (Chrome: PASS)
    • Test display size metadata override: FAIL (Chrome: PASS)
    • Test invalid buffer constructed VideoFrames: FAIL (Chrome: PASS)
    • Test Uint8Array(ArrayBuffer) constructed I420 VideoFrame: FAIL (Chrome: PASS)
    • Test ArrayBuffer constructed I420 VideoFrame: FAIL (Chrome: PASS)
    • Test planar constructed I420 VideoFrame with colorSpace: FAIL (Chrome: PASS)
    • Test buffer constructed I420+Alpha VideoFrame: FAIL (Chrome: PASS)
    • Test buffer constructed NV12 VideoFrame: FAIL (Chrome: PASS)
    • Test buffer constructed RGB VideoFrames: FAIL (Chrome: PASS)
    • Test VideoFrame constructed VideoFrame: FAIL (Chrome: PASS)
    • Test we can construct a VideoFrame from an offscreen canvas.: FAIL (Chrome: PASS)
    • Test I420 VideoFrame with odd visible size: FAIL (Chrome: PASS)
    • Test I420A VideoFrame and alpha={keep,discard}: FAIL (Chrome: PASS)
    • Test RGBA, BGRA VideoFrames with alpha={keep,discard}: FAIL (Chrome: PASS)
    • Test a VideoFrame constructed from canvas can drop the alpha channel.: FAIL (Chrome: PASS)
  • /webcodecs/videoFrame-construction.any.html [wpt.fyi]
    • Test we can construct a VideoFrame.: FAIL (Chrome: PASS)
    • Test closed VideoFrame.: FAIL (Chrome: PASS)
    • Test we can construct a VideoFrame with a negative timestamp.: FAIL (Chrome: PASS)
    • Test that timestamp is required when constructing VideoFrame from ImageBitmap: FAIL (Chrome: PASS)
    • Test that timestamp is required when constructing VideoFrame from OffscreenCanvas: FAIL (Chrome: PASS)
    • Test that timestamp is NOT required when constructing VideoFrame from another VideoFrame: FAIL (Chrome: PASS)
    • Test we can construct an odd-sized VideoFrame.: FAIL (Chrome: PASS)
    • Test constructing w/ unusable image argument throws: HAVE_NOTHING <video>.: FAIL (Chrome: PASS)
    • Test constructing w/ unusable image argument throws: emtpy Canvas.: FAIL (Chrome: PASS)
    • Test constructing w/ unusable image argument throws: closed ImageBitmap.: FAIL (Chrome: PASS)
    • Test constructing w/ unusable image argument throws: closed VideoFrame.: FAIL (Chrome: PASS)
    • Test invalid CanvasImageSource constructed VideoFrames: FAIL (Chrome: PASS)
    • Test visibleRect metadata override where source display size = visible size: FAIL (Chrome: PASS)
    • Test visibleRect metadata override where source display width = 2 * visible width (anamorphic): FAIL (Chrome: PASS)
    • Test visibleRect metadata override where source display size = 2 * visible size for both width and height: FAIL (Chrome: PASS)
    • Test visibleRect + display size metadata override: FAIL (Chrome: PASS)
    • Test display size metadata override: FAIL (Chrome: PASS)
    • Test invalid buffer constructed VideoFrames: FAIL (Chrome: PASS)
    • Test Uint8Array(ArrayBuffer) constructed I420 VideoFrame: FAIL (Chrome: PASS)
    • Test ArrayBuffer constructed I420 VideoFrame: FAIL (Chrome: PASS)
    • Test planar constructed I420 VideoFrame with colorSpace: FAIL (Chrome: PASS)
    • Test buffer constructed I420+Alpha VideoFrame: FAIL (Chrome: PASS)
    • Test buffer constructed NV12 VideoFrame: FAIL (Chrome: PASS)
    • Test buffer constructed RGB VideoFrames: FAIL (Chrome: PASS)
    • Test VideoFrame constructed VideoFrame: FAIL (Chrome: PASS)
    • Test we can construct a VideoFrame from an offscreen canvas.: FAIL (Chrome: PASS)
    • Test I420 VideoFrame with odd visible size: FAIL (Chrome: PASS)
    • Test I420A VideoFrame and alpha={keep,discard}: FAIL (Chrome: PASS)
    • Test RGBA, BGRA VideoFrames with alpha={keep,discard}: FAIL (Chrome: PASS)
    • Test a VideoFrame constructed from canvas can drop the alpha channel.: FAIL (Chrome: PASS)
  • /webcodecs/videoFrame-construction.crossOriginIsolated.https.any.worker.html [wpt.fyi]
    • Test SharedArrayBuffer constructed I420 VideoFrame: FAIL (Chrome: PASS)
    • Test Uint8Array(SharedArrayBuffer) constructed I420 VideoFrame: FAIL (Chrome: PASS)
  • /webcodecs/videoFrame-construction.crossOriginIsolated.https.any.html [wpt.fyi]
    • Test SharedArrayBuffer constructed I420 VideoFrame: FAIL (Chrome: PASS)
    • Test Uint8Array(SharedArrayBuffer) constructed I420 VideoFrame: FAIL (Chrome: PASS)
  • /webcodecs/videoFrame-construction.window.html [wpt.fyi]
    • Test that timestamp is required when constructing VideoFrame from HTMLImageElement: FAIL (Chrome: PASS)
    • Test that timestamp is required when constructing VideoFrame from SVGImageElement: FAIL (Chrome: PASS)
    • Test that timeamp is required when constructing VideoFrame from HTMLCanvasElement: FAIL (Chrome: PASS)
  • /webcodecs/videoFrame-copyTo.any.worker.html [wpt.fyi]
    • Test closed frame.: FAIL (Chrome: PASS)
    • Test copying I420 frame to a non-shared ArrayBuffer: FAIL (Chrome: PASS)
    • Test copying I420 frame to a non-shared ArrayBufferView: FAIL (Chrome: PASS)
    • Test RGBA frame.: FAIL (Chrome: PASS)
    • Test undersized buffer.: FAIL (Chrome: PASS)
    • Test incorrect plane count.: FAIL (Chrome: PASS)
    • Test stride and offset work.: FAIL (Chrome: PASS)
    • Test stride and offset with padding.: FAIL (Chrome: PASS)
    • Test invalid stride.: FAIL (Chrome: PASS)
    • Test address overflow.: FAIL (Chrome: PASS)
    • Test codedRect.: FAIL (Chrome: PASS)
    • Test empty rect.: FAIL (Chrome: PASS)
    • Test unaligned rect.: FAIL (Chrome: PASS)
    • Test left crop.: FAIL (Chrome: PASS)
    • Test invalid rect.: FAIL (Chrome: PASS)
  • /webcodecs/videoFrame-copyTo.any.html [wpt.fyi]
    • Test closed frame.: FAIL (Chrome: PASS)
    • Test copying I420 frame to a non-shared ArrayBuffer: FAIL (Chrome: PASS)
    • Test copying I420 frame to a non-shared ArrayBufferView: FAIL (Chrome: PASS)
    • Test RGBA frame.: FAIL (Chrome: PASS)
    • Test undersized buffer.: FAIL (Chrome: PASS)
    • Test incorrect plane count.: FAIL (Chrome: PASS)
    • Test stride and offset work.: FAIL (Chrome: PASS)
    • Test stride and offset with padding.: FAIL (Chrome: PASS)
    • Test invalid stride.: FAIL (Chrome: PASS)
    • Test address overflow.: FAIL (Chrome: PASS)
    • Test codedRect.: FAIL (Chrome: PASS)
    • Test empty rect.: FAIL (Chrome: PASS)
    • Test unaligned rect.: FAIL (Chrome: PASS)
    • Test left crop.: FAIL (Chrome: PASS)
    • Test invalid rect.: FAIL (Chrome: PASS)
  • /webcodecs/videoFrame-copyTo.crossOriginIsolated.https.any.worker.html [wpt.fyi]
    • Test copying I420 frame to SharedArrayBuffer.: FAIL (Chrome: PASS)
    • Test copying I420 frame to shared ArrayBufferView.: FAIL (Chrome: PASS)
  • /webcodecs/videoFrame-copyTo.crossOriginIsolated.https.any.html [wpt.fyi]
    • Test copying I420 frame to SharedArrayBuffer.: FAIL (Chrome: PASS)
    • Test copying I420 frame to shared ArrayBufferView.: FAIL (Chrome: PASS)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4dbd399feb60
[wpt PR 33822] - [webcodecs] Cleanup deprecated spec violations, a=testonly
https://hg.mozilla.org/integration/autoland/rev/1a3b7299e0a5
[wpt PR 33822] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.