Closed Bug 1697019 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 27901 - Add more tests for VideoFrame from CanvasImageSource. Fix bugs.

Categories

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

task

Tracking

(firefox88 fixed)

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

Add more tests for VideoFrame from CanvasImageSource. Fix bugs.

This expands the testing to cover all possible CanvasImageSource
types. We cover OffscreenCanvas and ImageBitmap within the
video-frame.any.js test cases.

Bug: 1184128
Test: New tests.
Change-Id: I854c2671ab9c5fe09df9518a4d07c928bbcefb4e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2738394
Commit-Queue: Dale Curtis \<dalecurtis@chromium.org>
Auto-Submit: Dale Curtis \<dalecurtis@chromium.org>
Reviewed-by: Thomas Guilbert \<tguilbert@chromium.org>
Cr-Commit-Position: refs/heads/master@{#860153}

PR 27901 applied with additional changes from upstream: 244ff37ec923e10108cfeea90b9304a0b19a86f2, 4d0922f5e75c2424a68df5d3edc965b21388d740

CI Results

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

Total 4 tests and 5 subtests

Status Summary

Firefox

OK : 4
FAIL: 39[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-linux1804-64-tsan-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] 43[GitHub]

Chrome

OK : 4
PASS: 9
FAIL: 34

Safari

OK : 4
FAIL: 43

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/webcodecs/image-decoder-image-orientation-none.html
Test JPEG w/ EXIF orientation top-left on canvas w/o orientation: FAIL (Chrome: PASS, Safari: FAIL)
Test JPEG w/ EXIF orientation top-right on canvas w/o orientation.: FAIL (Chrome: PASS, Safari: FAIL)
Test JPEG w/ EXIF orientation bottom-right on canvas w/o orientation.: FAIL (Chrome: PASS, Safari: FAIL)
Test JPEG w/ EXIF orientation bottom-left on canvas w/o orientation.: FAIL (Chrome: PASS, Safari: FAIL)
Test JPEG w/ EXIF orientation left-top on canvas w/o orientation.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation right-top on canvas w/o orientation.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation right-bottom on canvas w/o orientation.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation left-bottom on canvas w/o orientation.: FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/image-decoder.any.worker.html
Test JPEG image decoding.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation top-left.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation top-right.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation bottom-right.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation bottom-left.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation left-top.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation right-top.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation right-bottom.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation left-bottom.: FAIL (Chrome: FAIL, Safari: FAIL)
Test PNG image decoding.: FAIL (Chrome: FAIL, Safari: FAIL)
Test AVIF image decoding.: FAIL (Chrome: FAIL, Safari: FAIL)
Test WEBP image decoding.: FAIL (Chrome: FAIL, Safari: FAIL)
Test GIF image decoding.: FAIL (Chrome: FAIL, Safari: FAIL)
Test invalid mime type rejects decode() requests: FAIL (Chrome: FAIL, Safari: FAIL)
Test invalid mime type rejects decodeMetadata() requests: FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/image-decoder.any.html
Test JPEG image decoding.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation top-left.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation top-right.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation bottom-right.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation bottom-left.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation left-top.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation right-top.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation right-bottom.: FAIL (Chrome: FAIL, Safari: FAIL)
Test JPEG w/ EXIF orientation left-bottom.: FAIL (Chrome: FAIL, Safari: FAIL)
Test PNG image decoding.: FAIL (Chrome: FAIL, Safari: FAIL)
Test AVIF image decoding.: FAIL (Chrome: FAIL, Safari: FAIL)
Test WEBP image decoding.: FAIL (Chrome: FAIL, Safari: FAIL)
Test GIF image decoding.: FAIL (Chrome: FAIL, Safari: FAIL)
Test invalid mime type rejects decode() requests: FAIL (Chrome: FAIL, Safari: FAIL)
Test invalid mime type rejects decodeMetadata() requests: FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/videoFrame-canvasImageSource.html
<video> and VideoFrame constructed VideoFrame: FAIL (Chrome: PASS, Safari: FAIL)
CSSImageValue constructed VideoFrame: FAIL (Chrome: PASS, Safari: FAIL)
Image element constructed VideoFrame: FAIL (Chrome: PASS, Safari: FAIL)
SVGImageElement constructed VideoFrame: FAIL (Chrome: PASS, Safari: FAIL)
Canvas element constructed VideoFrame: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/14603bc4c390 [wpt PR 27901] - Add more tests for VideoFrame from CanvasImageSource. Fix bugs., a=testonly https://hg.mozilla.org/integration/autoland/rev/f2223f72e39c [wpt PR 27901] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.