| OLD | NEW |
| 1 Ensure correct behavior of createImageBitmap for invalid inputs. | 1 Ensure correct behavior of createImageBitmap for invalid inputs. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS Rejected as expected: undefined | 6 PASS Rejected as expected: undefined |
| 7 PASS reason instanceof Error is true | 7 PASS reason instanceof Error is true |
| 8 TypeError: Failed to execute 'createImageBitmap' on 'Window': The provided value
is not of type '(HTMLImageElement or SVGImageElement or HTMLVideoElement or HTM
LCanvasElement or Blob or ImageData or ImageBitmap or OffscreenCanvas)' | 8 TypeError: Failed to execute 'createImageBitmap' on 'Window': The provided value
is not of type '(HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or B
lob or ImageData or ImageBitmap or OffscreenCanvas)' |
| 9 PASS Rejected as expected: null | 9 PASS Rejected as expected: null |
| 10 PASS reason instanceof Error is true | 10 PASS reason instanceof Error is true |
| 11 TypeError: Failed to execute 'createImageBitmap' on 'Window': The provided value
is not of type '(HTMLImageElement or SVGImageElement or HTMLVideoElement or HTM
LCanvasElement or Blob or ImageData or ImageBitmap or OffscreenCanvas)' | 11 TypeError: Failed to execute 'createImageBitmap' on 'Window': The provided value
is not of type '(HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or B
lob or ImageData or ImageBitmap or OffscreenCanvas)' |
| 12 PASS Rejected as expected: empty image | 12 PASS Rejected as expected: empty image |
| 13 PASS reason instanceof Error is true | 13 PASS reason instanceof Error is true |
| 14 InvalidStateError: Failed to execute 'createImageBitmap' on 'Window': No image c
an be retrieved from the provided element. | 14 InvalidStateError: Failed to execute 'createImageBitmap' on 'Window': No image c
an be retrieved from the provided element. |
| 15 PASS Rejected as expected: empty video | 15 PASS Rejected as expected: empty video |
| 16 PASS reason instanceof Error is true | 16 PASS reason instanceof Error is true |
| 17 InvalidStateError: Failed to execute 'createImageBitmap' on 'Window': The provid
ed element has not retrieved data. | 17 InvalidStateError: Failed to execute 'createImageBitmap' on 'Window': The provid
ed element has not retrieved data. |
| 18 PASS Rejected as expected: image / invalid range | 18 PASS Rejected as expected: image / invalid range |
| 19 PASS reason instanceof Error is true | 19 PASS reason instanceof Error is true |
| 20 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he
ight provided is 0. | 20 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he
ight provided is 0. |
| 21 PASS Rejected as expected: image / invalid range | 21 PASS Rejected as expected: image / invalid range |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 PASS reason instanceof Error is true | 55 PASS reason instanceof Error is true |
| 56 InvalidStateError: The source image cannot be decoded. | 56 InvalidStateError: The source image cannot be decoded. |
| 57 PASS Rejected as expected: invalid canvas | 57 PASS Rejected as expected: invalid canvas |
| 58 null | 58 null |
| 59 PASS Rejected as expected: cropRect too big | 59 PASS Rejected as expected: cropRect too big |
| 60 null | 60 null |
| 61 PASS successfullyParsed is true | 61 PASS successfullyParsed is true |
| 62 | 62 |
| 63 TEST COMPLETE | 63 TEST COMPLETE |
| 64 | 64 |
| OLD | NEW |