| 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 HTMLVideoElement or HTMLCanvasElement or B
lob or ImageData or ImageBitmap)' | 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)' |
| 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 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 PASS Rejected as expected: image bitmap / invalid range | 45 PASS Rejected as expected: image bitmap / invalid range |
| 46 PASS reason instanceof Error is true | 46 PASS reason instanceof Error is true |
| 47 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi
dth provided is 0. | 47 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi
dth provided is 0. |
| 48 PASS Rejected as expected: blob / invalid range | 48 PASS Rejected as expected: blob / invalid range |
| 49 PASS reason instanceof Error is true | 49 PASS reason instanceof Error is true |
| 50 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he
ight provided is 0. | 50 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source he
ight provided is 0. |
| 51 PASS Rejected as expected: blob / invalid range | 51 PASS Rejected as expected: blob / invalid range |
| 52 PASS reason instanceof Error is true | 52 PASS reason instanceof Error is true |
| 53 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi
dth provided is 0. | 53 IndexSizeError: Failed to execute 'createImageBitmap' on 'Window': The source wi
dth provided is 0. |
| 54 PASS Rejected as expected: invalid blob | 54 PASS Rejected as expected: invalid blob |
| 55 FAIL reason instanceof Error should be true. Was false. | 55 PASS reason instanceof Error is true |
| 56 null | 56 InvalidStateError: The source image cannot be decoded. |
| 57 PASS Rejected as expected: invalid canvas | 57 PASS Rejected as expected: invalid canvas |
| 58 FAIL reason instanceof Error should be true. Was false. | 58 FAIL reason instanceof Error should be true. Was false. |
| 59 null | 59 null |
| 60 PASS successfullyParsed is true | 60 PASS successfullyParsed is true |
| 61 | 61 |
| 62 TEST COMPLETE | 62 TEST COMPLETE |
| 63 | 63 |
| OLD | NEW |