[createImageBitmap-invalid-args.html]
type: testharness
[createImageBitmap with a HTMLImageElement source and sw set to 0 rejects with a RangeError.]
expected: FAIL
[createImageBitmap with a HTMLImageElement source and sh set to 0 rejects with a RangeError.]
expected: FAIL
[createImageBitmap with a HTMLImageElement source and oversized (unallocatable) crop region rejects with an InvalidStateError DOMException.]
expected: FAIL
[createImageBitmap with a HTMLVideoElement source and sw set to 0 rejects with a RangeError.]
expected: FAIL
[createImageBitmap with a HTMLVideoElement source and sh set to 0 rejects with a RangeError.]
expected: FAIL
[createImageBitmap with a HTMLVideoElement source and oversized (unallocatable) crop region rejects with an InvalidStateError DOMException.]
expected: FAIL
[createImageBitmap with a HTMLCanvasElement source and sw set to 0 rejects with a RangeError.]
expected: FAIL
[createImageBitmap with a HTMLCanvasElement source and sh set to 0 rejects with a RangeError.]
expected: FAIL
[createImageBitmap with a HTMLCanvasElement source and oversized (unallocatable) crop region rejects with an InvalidStateError DOMException.]
expected: FAIL
[createImageBitmap with a OffscreenCanvas source and sw set to 0 rejects with a RangeError.]
expected: FAIL
[createImageBitmap with a OffscreenCanvas source and sh set to 0 rejects with a RangeError.]
expected: FAIL
[createImageBitmap with a OffscreenCanvas source and oversized (unallocatable) crop region rejects with an InvalidStateError DOMException.]
expected: FAIL
[createImageBitmap with a ImageData source and sw set to 0 rejects with a RangeError.]
expected: FAIL
[createImageBitmap with a ImageData source and sh set to 0 rejects with a RangeError.]
expected: FAIL
[createImageBitmap with a ImageData source and oversized (unallocatable) crop region rejects with an InvalidStateError DOMException.]
expected: FAIL
[createImageBitmap with a ImageBitmap source and sw set to 0 rejects with a RangeError.]
expected: FAIL
[createImageBitmap with a ImageBitmap source and sh set to 0 rejects with a RangeError.]
expected: FAIL
[createImageBitmap with a ImageBitmap source and oversized (unallocatable) crop region rejects with an InvalidStateError DOMException.]
expected: FAIL
[createImageBitmap with a Blob source and sw set to 0 rejects with a RangeError.]
expected: FAIL
[createImageBitmap with a Blob source and sh set to 0 rejects with a RangeError.]
expected: FAIL
[createImageBitmap with an oversized canvas source rejects with a RangeError.]
expected: FAIL
[createImageBitmap with an invalid OffscreenCanvas source rejects with a RangeError.]
expected: FAIL