Implement convertToBlob() in OffscreenCanvas
This CL implements convertToBlob on OffscreenCanvas for both
worker and main threads.
The OffscreenCanvasRenderingContext2D cases are complete.
For the Webgl rendering context, currently convertToBlob()
can only work for PNG image type.
BUG=563830
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2420203002
Cr-Commit-Position: refs/heads/master@{#427153}
30 files changed