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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 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 FAIL reason instanceof Error should be true. Was false. | 58 null |
| 59 PASS Rejected as expected: cropRect too big |
59 null | 60 null |
60 PASS successfullyParsed is true | 61 PASS successfullyParsed is true |
61 | 62 |
62 TEST COMPLETE | 63 TEST COMPLETE |
63 | 64 |
OLD | NEW |