Closed Bug 1653677 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24649 - Add AVIF to canvas-createImageBitmap-e_srgb.html

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Wan-Teh Chang <wtc@google.com> wrote:

Add AVIF to canvas-createImageBitmap-e_srgb.html

Add the AVIF image format to the canvas-createImageBitmap-e_srgb.html
test in wpt/html/canvas/element/manual/wide-gamut-canvas/.

Also update lint.ignore to have the wpt lint tool ignore *.avif files.

The AVIF test images pattern-srgb.avif and pattern-srgb-transparent.avif
were generated from pattern-srgb.png and pattern-srgb-transparent.png
using the 'avifenc' program in libavif v0.8.0 with the following command
lines:

avifenc --speed 0 --yuv 420 --cicp 1/13/1 --range full
pattern-srgb.png pattern-srgb.avif
avifenc --speed 0 --yuv 420 --cicp 1/13/1 --range full
pattern-srgb-transparent.png pattern-srgb-transparent.avif

Test:
third_party/blink/tools/run_web_tests.py -t Default
external/wpt/html/canvas/element/manual/wide-gamut-canvas/canvas-createImageBitmap-e_srgb.html

Bug: 1099028
Change-Id: I3577682a0e23dd768af32907cf549270f331c7a6
Reviewed-on: https://chromium-review.googlesource.com/2304961
WPT-Export-Revision: 9fc9f0b6afac212ec6bc5ad9bc1960057c4d9aa1

PR 24649 applied with additional changes from upstream: 8d7104310d9fdb1b2eb6995219c31489d25010b5, 7693fed05a080fcfc4da00907efda3885f20e5e9
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 26 subtests

Status Summary

Firefox

FAIL : 10
ERROR : 1
NOTRUN : 1

Chrome

OK : 1
PASS : 24
FAIL : 2

Safari

FAIL : 3
TIMEOUT: 1
ERROR : 1
NOTRUN : 7

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/canvas/element/manual/wide-gamut-canvas/canvas-createImageBitmap-e_srgb.html: ERROR (Chrome: OK, Safari: ERROR)
createImageBitmap in e-sRGB from an opaque sRGB HTMLImageElement (AVIF, BMP, GIF, ICO, JPG, PNG, WEBP) with resize.: FAIL (Chrome: FAIL, Safari: FAIL)
createImageBitmap in e-sRGB from a transparent sRGB HTMLCanvasElement with resize.: FAIL (Chrome: PASS, Safari: NOTRUN)
createImageBitmap in e-sRGB from an opaque sRGB Blob (AVIF, BMP, GIF, ICO, JPG, PNG, WEBP) with resize.: FAIL (Chrome: FAIL, Safari: NOTRUN)
createImageBitmap in e-sRGB from color managed Blob with resize. blobPixelFormat: uint8, transparency: false: NOTRUN (Chrome: PASS, Safari: NOTRUN)
createImageBitmap in e-sRGB from an opaque sRGB HTMLCanvasElement with resize.: FAIL (Chrome: PASS, Safari: NOTRUN)
createImageBitmap in e-sRGB from a transparent sRGB Blob (AVIF, BMP, ICO, PNG, WEBP) with resize.: FAIL (Chrome: PASS, Safari: NOTRUN)
createImageBitmap in e-sRGB from an opaque e-sRGB HTMLCanvasElement with resize.: FAIL (Chrome: PASS, Safari: NOTRUN)
createImageBitmap in e-sRGB from a transparent e-sRGB HTMLCanvasElement with resize.: FAIL (Chrome: PASS, Safari: NOTRUN)
createImageBitmap in e-sRGB from a transparent sRGB HTMLImageElement (AVIF, BMP, ICO, PNG, WEBP) with resize.: FAIL (Chrome: PASS, Safari: FAIL)
createImageBitmap in e-sRGB from a sRGB SVG image with resize.: FAIL (Chrome: PASS, Safari: FAIL)
createImageBitmap in e-sRGB from a sRGB HTMLVideoElement with resize.: FAIL (Chrome: PASS, Safari: TIMEOUT)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/933cd3d6eaba [wpt PR 24649] - Add AVIF to canvas-createImageBitmap-e_srgb.html, a=testonly https://hg.mozilla.org/integration/autoland/rev/b59a5202cedd [wpt PR 24649] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.