Closed Bug 1502102 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 13724 - Copy srgb/e-srgb color managed canvas layout tests to WPT

Categories

(Core :: Graphics: Canvas2D, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Reza.Zakerinasab <zakerinasab@chromium.org> wrote:
>  Copy srgb/e-srgb color managed canvas layout tests to WPT
>  
>  Bug: 898846
>  Change-Id: I16d7c18f111040c401e19eb2c77f1e6fec1c6200
>  Reviewed-on: https://chromium-review.googlesource.com/1299535
>  WPT-Export-Revision: d63a09be3366176006cf13a63372bf4ad17a5511
Component: web-platform-tests → Canvas: 2D
Product: Testing → Core
Ran 14 tests and 122 subtests
OK     : 11
PASS   : 28
FAIL   : 52
TIMEOUT: 40
ERROR  : 3
NOTRUN : 2

New tests that have failures or other problems:
/2dcontext/wide-gamut-canvas/canvas-colorManaged-convertToBlob-roundtrip.html: ERROR
    Test canvas convertToBlob(): mimeType: image/png, blobPixelFormat: uint8, source color space: srgb, pixel format: uint8, alpha: 0.5: NOTRUN
/2dcontext/wide-gamut-canvas/canvas-colorspace-arguments.html
    Test CanvasColorSpace value srgb: FAIL
    Test CanvasPixelFormat value float16: FAIL
    Test CanvasPixelFormat value uint8: FAIL
    Test default context creation parameters: srgb/uint8: FAIL
    Test supported color settings srgb/float16: FAIL
    Test supported color settings srgb/uint8: FAIL
/2dcontext/wide-gamut-canvas/canvas-createImageBitmap-e_srgb.html: ERROR
    createImageBitmap in e-sRGB from a sRGB HTMLVideoElement with resize.: FAIL
    createImageBitmap in e-sRGB from a sRGB SVG image with resize.: FAIL
    createImageBitmap in e-sRGB from a transparent e-sRGB HTMLCanvasElement with resize.: FAIL
    createImageBitmap in e-sRGB from a transparent sRGB Blob with resize.: FAIL
    createImageBitmap in e-sRGB from a transparent sRGB HTMLCanvasElement with resize.: FAIL
    createImageBitmap in e-sRGB from a transparent sRGB HTMLImageElement (BMP, ICO, PNG, WEBP) with resize.: FAIL
    createImageBitmap in e-sRGB from an opaque e-sRGB HTMLCanvasElement with resize.: FAIL
    createImageBitmap in e-sRGB from an opaque sRGB Blob with resize.: FAIL
    createImageBitmap in e-sRGB from an opaque sRGB HTMLCanvasElement with resize.: FAIL
    createImageBitmap in e-sRGB from an opaque sRGB HTMLImageElement (BMP, GIF, ICO, JPG, PNG, WEBP) with resize.: FAIL
    createImageBitmap in e-sRGB from color managed Blob with resize. blobPixelFormat: uint8, transparency: false: NOTRUN
/2dcontext/wide-gamut-canvas/canvas-createPutGetImageData-colorManaged.html
    Test color managed cretateImageData: {srgb, float16} -> {srgb, float32}: FAIL
    Test color managed cretateImageData: {srgb, uint8} -> {srgb, uint8}: FAIL
    Test color managed getImageData: {srgb, float16} -> {srgb, float32}: FAIL
    Test color managed getImageData: {srgb, uint8} -> {srgb, uint8}: FAIL
    Test color managed putImageData: {srgb, float32} -> {srgb, float16}: FAIL
    Test color managed putImageData: {srgb, float32} -> {srgb, uint8}: FAIL
    Test color managed putImageData: {srgb, uint16} -> {srgb, float16}: FAIL
    Test color managed putImageData: {srgb, uint16} -> {srgb, uint8}: FAIL
    Test color managed putImageData: {srgb, uint8} -> {srgb, float16}: FAIL
    Test color managed putImageData: {srgb, uint8} -> {srgb, uint8}: FAIL
/2dcontext/wide-gamut-canvas/canvas-draw-high-bit-depth-images.html: ERROR
    Canvas color params: srgb, float16. Testing 2x2_8bit_AdobeRGB_opaque.png vs 2x2_16bit_AdobeRGB_opaque.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_AdobeRGB_opaque.png vs 2x2_16bit_interlaced_AdobeRGB_opaque.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_AdobeRGB_transparent.png vs 2x2_16bit_AdobeRGB_transparent.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_AdobeRGB_transparent.png vs 2x2_16bit_interlaced_AdobeRGB_transparent.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_DisplayP3_opaque.png vs 2x2_16bit_DisplayP3_opaque.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_DisplayP3_opaque.png vs 2x2_16bit_interlaced_DisplayP3_opaque.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_DisplayP3_transparent.png vs 2x2_16bit_DisplayP3_transparent.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_DisplayP3_transparent.png vs 2x2_16bit_interlaced_DisplayP3_transparent.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_ProPhoto_opaque.png vs 2x2_16bit_ProPhoto_opaque.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_ProPhoto_opaque.png vs 2x2_16bit_interlaced_ProPhoto_opaque.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_ProPhoto_transparent.png vs 2x2_16bit_ProPhoto_transparent.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_ProPhoto_transparent.png vs 2x2_16bit_interlaced_ProPhoto_transparent.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_Rec2020_opaque.png vs 2x2_16bit_Rec2020_opaque.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_Rec2020_opaque.png vs 2x2_16bit_interlaced_Rec2020_opaque.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_Rec2020_transparent.png vs 2x2_16bit_Rec2020_transparent.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_Rec2020_transparent.png vs 2x2_16bit_interlaced_Rec2020_transparent.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_sRGB_opaque.png vs 2x2_16bit_interlaced_sRGB_opaque.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_sRGB_opaque.png vs 2x2_16bit_sRGB_opaque.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_sRGB_transparent.png vs 2x2_16bit_interlaced_sRGB_transparent.png: TIMEOUT
    Canvas color params: srgb, float16. Testing 2x2_8bit_sRGB_transparent.png vs 2x2_16bit_sRGB_transparent.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_AdobeRGB_opaque.png vs 2x2_16bit_AdobeRGB_opaque.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_AdobeRGB_opaque.png vs 2x2_16bit_interlaced_AdobeRGB_opaque.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_AdobeRGB_transparent.png vs 2x2_16bit_AdobeRGB_transparent.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_AdobeRGB_transparent.png vs 2x2_16bit_interlaced_AdobeRGB_transparent.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_DisplayP3_opaque.png vs 2x2_16bit_DisplayP3_opaque.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_DisplayP3_opaque.png vs 2x2_16bit_interlaced_DisplayP3_opaque.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_DisplayP3_transparent.png vs 2x2_16bit_DisplayP3_transparent.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_DisplayP3_transparent.png vs 2x2_16bit_interlaced_DisplayP3_transparent.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_ProPhoto_opaque.png vs 2x2_16bit_ProPhoto_opaque.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_ProPhoto_opaque.png vs 2x2_16bit_interlaced_ProPhoto_opaque.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_ProPhoto_transparent.png vs 2x2_16bit_ProPhoto_transparent.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_ProPhoto_transparent.png vs 2x2_16bit_interlaced_ProPhoto_transparent.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_Rec2020_opaque.png vs 2x2_16bit_Rec2020_opaque.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_Rec2020_opaque.png vs 2x2_16bit_interlaced_Rec2020_opaque.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_Rec2020_transparent.png vs 2x2_16bit_Rec2020_transparent.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_Rec2020_transparent.png vs 2x2_16bit_interlaced_Rec2020_transparent.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_sRGB_opaque.png vs 2x2_16bit_interlaced_sRGB_opaque.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_sRGB_opaque.png vs 2x2_16bit_sRGB_opaque.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_sRGB_transparent.png vs 2x2_16bit_interlaced_sRGB_transparent.png: TIMEOUT
    Canvas color params: srgb, uint8. Testing 2x2_8bit_sRGB_transparent.png vs 2x2_16bit_sRGB_transparent.png: TIMEOUT
/2dcontext/wide-gamut-canvas/canvas-drawImage-e_srgb.html
    Draw SRGB image on an e-sRGB canvas and read back the e-sRGB pixels.: FAIL
/2dcontext/wide-gamut-canvas/canvas-drawImage-offscreenCanvas.html
    Test drawing color managed OffscreenCanvas: Canvas color params: srgb, float16;  OffscreenCanvas color params: srgb, float16: FAIL
    Test drawing color managed OffscreenCanvas: Canvas color params: srgb, float16;  OffscreenCanvas color params: srgb, uint8: FAIL
    Test drawing color managed OffscreenCanvas: Canvas color params: srgb, uint8;  OffscreenCanvas color params: srgb, float16: FAIL
    Test drawing color managed OffscreenCanvas: Canvas color params: srgb, uint8;  OffscreenCanvas color params: srgb, uint8: FAIL
/2dcontext/wide-gamut-canvas/canvas-getImageData-e_srgb.html
    tests drawing SRGB color on e-sRGB canvas and getting e-sRGB image data.: FAIL
    tests putting SRGB image data on e-sRGB canvas and getting e-sRGB image data.: FAIL
    tests putting and getting in-range e-sRGB image data on e-sRGB canvas.: FAIL
    tests putting and getting out-of-range e-sRGB image data on e-sRGB canvas.: FAIL
/2dcontext/wide-gamut-canvas/imageData-colorManagedBehavior.html
    imageData-colorManagedBehavior: FAIL
/2dcontext/wide-gamut-canvas/imageData-colorSpace.html
    Test color settings: {srgb, float32}: FAIL
    Test color settings: {srgb, uint16}: FAIL
    Test color settings: {srgb, uint8}: FAIL
    Test default color settings: {undefined, undefined} -> {srgb, uint8}: FAIL
    Test default color space: {undefined, float32} -> {srgb, float32}: FAIL
    Test default storage format: {srgb, undefined} -> {srgb, uint8}: FAIL
/2dcontext/wide-gamut-canvas/imagedata-no-color-settings-crash.html
    Putting a float-32 ImageData with no color settings on a context 2D should not crash.: FAIL
    Putting a uint-16 ImageData with no color settings on a context 2D should not crash.: FAIL
/2dcontext/wide-gamut-canvas/transferFromImageBitmap.html
    Testing ImageBitmapRenderingContext: Source color space: srgb, pixel format: float16, alpha: 0.5, intermediate color space: default: FAIL
    Testing ImageBitmapRenderingContext: Source color space: srgb, pixel format: float16, alpha: 0.5, intermediate color space: none: FAIL
    Testing ImageBitmapRenderingContext: Source color space: srgb, pixel format: float16, alpha: 1, intermediate color space: default: FAIL
    Testing ImageBitmapRenderingContext: Source color space: srgb, pixel format: float16, alpha: 1, intermediate color space: none: FAIL
    Testing ImageBitmapRenderingContext: Source color space: srgb, pixel format: uint8, alpha: 0.5, intermediate color space: default: FAIL
    Testing ImageBitmapRenderingContext: Source color space: srgb, pixel format: uint8, alpha: 0.5, intermediate color space: none: FAIL
    Testing ImageBitmapRenderingContext: Source color space: srgb, pixel format: uint8, alpha: 1, intermediate color space: default: FAIL
    Testing ImageBitmapRenderingContext: Source color space: srgb, pixel format: uint8, alpha: 1, intermediate color space: none: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6643060a46ba
[wpt PR 13724] - Copy srgb/e-srgb color managed canvas layout tests to WPT, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/3029d488ab23
[wpt PR 13724] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/6643060a46ba
https://hg.mozilla.org/mozilla-central/rev/3029d488ab23
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.