| OLD | NEW |
| 1 [Worker] Test createImageBitmap with invalid arguments in workers. | 1 [Worker] Test createImageBitmap with invalid arguments in workers. |
| 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 Starting worker: ./resources/canvas-createImageBitmap-invalid-args-in-workers.js | 6 Starting worker: ./resources/canvas-createImageBitmap-invalid-args-in-workers.js |
| 7 PASS [Worker] createImageBitmap(null, 0, 0, 10, 10) threw exception TypeError: F
ailed to execute 'createImageBitmap' on 'WorkerGlobalScope': No function was fou
nd that matched the signature provided.. | 7 PASS [Worker] Rejected as expected: null |
| 8 PASS [Worker] createImageBitmap(data, 0, 0, 10, 0) threw exception IndexSizeErro
r: Failed to execute 'createImageBitmap' on 'WorkerGlobalScope': The source heig
ht provided is 0.. | 8 PASS [Worker] reason instanceof Error is true |
| 9 PASS [Worker] createImageBitmap(data, 0, 0, 0, 10) threw exception IndexSizeErro
r: Failed to execute 'createImageBitmap' on 'WorkerGlobalScope': The source widt
h provided is 0.. | 9 [Worker] TypeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalScope'
: No function was found that matched the signature provided. |
| 10 PASS [Worker] Rejected as expected: invalid area |
| 11 PASS [Worker] reason instanceof Error is true |
| 12 [Worker] IndexSizeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalS
cope': The source height provided is 0. |
| 13 PASS [Worker] Rejected as expected: invalid area |
| 14 PASS [Worker] reason instanceof Error is true |
| 15 [Worker] IndexSizeError: Failed to execute 'createImageBitmap' on 'WorkerGlobalS
cope': The source width provided is 0. |
| 10 PASS successfullyParsed is true | 16 PASS successfullyParsed is true |
| 11 | 17 |
| 12 TEST COMPLETE | 18 TEST COMPLETE |
| 13 | 19 |
| OLD | NEW |