This is a testharness.js-based test.
PASS Test that convertToBlob with default type produces correct result
PASS Test that convertToBlob with png produces correct result
PASS Test that convertToBlob with jpge produces correct result
PASS Test that convertToBlob with webp produces correct result
PASS Test that call convertToBlob on a detached OffscreenCanvas throws exception
FAIL Test that call convertToBlob on a OffscreenCanvas with size 0 throws exception assert_false: expected false got "convertToBlob didn't throw, but should be"
Harness: the test ran to completion.

