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
Committed:
https://crrev.com/c9e12fb8f608b3d0e204b167459bf9ea999e068c
Cr-Commit-Position: refs/heads/master@{#427153}