Closed Bug 1446093 Opened 2 years ago Closed Last year

[wpt-sync] Sync PR 10051 - Improve wpt testing on OffscreenCanvas convertToBlob

Categories

(Core :: Canvas: 2D, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: wptsync, Unassigned)

Details

(Whiteboard: [wptsync downstream] [gfx-noted])

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

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

xlai wrote:
>  Improve wpt testing on OffscreenCanvas convertToBlob
>  
>  Same as canvas.toBlob(), the OffscreenCanvas.convertToBlob() are running on
>  idle tasks by default. When idle tasks do not begin for a long time, they force
>  encoding on the current thread. As idle tasks are not enabled on layout tests
>  unless "--enable-threaded-compositing" flag is turned on, we therefore do both
>  virtual and non-virtual tests to ensure complete test coverage of both
>  execution paths--idle-task mode and force-encoding mode. The non-virtual tests
>  need to be marked as [Slow] as the CanvasAsyncBlobCreator is waiting for the
>  idle tasks for a threshold time before switching to force-encoding mode.
>  
>  Bug: 817091
>  Change-Id: I2c7da9e27ee2d24e1a5e6ee1c36597b46f052aca
>  Reviewed-on: https://chromium-review.googlesource.com/964395
>  WPT-Export-Revision: dd11cd383850f926641985e702028ed7e72490a8
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Component: web-platform-tests → Canvas: 2D
Product: Testing → Core
Ran 2 tests and 20 subtests
OK     : 1
FAIL   : 6
TIMEOUT: 14
ERROR  : 1

New tests that have failures or other problems:
/offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.html
    Test that call convertToBlob on a OffscreenCanvas with size 0 throws exception: FAIL
    Test that call convertToBlob on a detached OffscreenCanvas throws exception: FAIL
    Test that convertToBlob with default type produces correct result: FAIL
    Test that convertToBlob with jpge produces correct result: FAIL
    Test that convertToBlob with png produces correct result: FAIL
    Test that convertToBlob with webp produces correct result: FAIL
/offscreen-canvas/convert-to-blob/offscreencanvas.convert.to.blob.w.html: ERROR
    Test that call convertToBlob on a OffscreenCanvas with size 0 throws exception in a worker: TIMEOUT
    Test that call convertToBlob on a detached OffscreenCanvas throws exception in a worker: TIMEOUT
    Test that convertToBlob with default arguments produces correct result in a worker: TIMEOUT
    Test that convertToBlob with default type/0.2 quality produces correct result in a worker: TIMEOUT
    Test that convertToBlob with default type/1.0 quality produces correct result in a worker: TIMEOUT
    Test that convertToBlob with jpeg/0.2 quality produces correct result in a worker: TIMEOUT
    Test that convertToBlob with jpeg/1.0 quality produces correct result in a worker: TIMEOUT
    Test that convertToBlob with jpeg/default quality produces correct result in a worker: TIMEOUT
    Test that convertToBlob with png/0.2 quality produces correct result in a worker: TIMEOUT
    Test that convertToBlob with png/1.0 quality produces correct result in a worker: TIMEOUT
    Test that convertToBlob with png/default quality produces correct result in a worker: TIMEOUT
    Test that convertToBlob with webp/0.2 quality produces correct result in a worker: TIMEOUT
    Test that convertToBlob with webp/1.0 quality produces correct result in a worker: TIMEOUT
    Test that convertToBlob with webp/default quality produces correct result in a worker: TIMEOUT
Whiteboard: [wptsync downstream] → [wptsync downstream] [gfx-noted]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/38ee726b5521
[wpt PR 10051] - Improve wpt testing on OffscreenCanvas convertToBlob, a=testonly
https://hg.mozilla.org/mozilla-central/rev/38ee726b5521
Status: NEW → RESOLVED
Closed: Last year
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.