OLD | NEW |
1 Tests that the close method of ImageBitmap does dispose the image data | 1 Tests that the close method of ImageBitmap does dispose the image data |
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 bitmap.width is imgWidth | 6 PASS bitmap.width is imgWidth |
7 PASS bitmap.height is imgHeight | 7 PASS bitmap.height is imgHeight |
8 PASS bitmap.width is imgWidth | 8 PASS bitmap.width is imgWidth |
9 PASS bitmap.height is imgHeight | 9 PASS bitmap.height is imgHeight |
10 PASS bitmap.width is 0 | 10 PASS bitmap.width is 0 |
11 PASS bitmap.height is 0 | 11 PASS bitmap.height is 0 |
| 12 PASS ctx.drawImage(bitmap, 0, 0) threw exception InvalidStateError: Failed to ex
ecute 'drawImage' on 'CanvasRenderingContext2D': The image source is neutered. |
12 PASS Apply structured clone to an already closed bitmap is rejected as expected:
DataCloneError: Failed to execute 'postMessage' on 'Worker': An ImageBitmap is
neutered and could not be cloned. | 13 PASS Apply structured clone to an already closed bitmap is rejected as expected:
DataCloneError: Failed to execute 'postMessage' on 'Worker': An ImageBitmap is
neutered and could not be cloned. |
13 PASS Apply transfering to an already closed bitmap is rejected as expected: Data
CloneError: Failed to execute 'postMessage' on 'Worker': An ImageBitmap is neute
red and could not be cloned. | 14 PASS Apply transfering to an already closed bitmap is rejected as expected: Data
CloneError: Failed to execute 'postMessage' on 'Worker': An ImageBitmap is neute
red and could not be cloned. |
14 PASS createImageBitmap from a closed ImageBitmap was rejected. IndexSizeError: F
ailed to execute 'createImageBitmap' on 'Window': The source width provided is 0
. | 15 PASS createImageBitmap from a closed ImageBitmap was rejected. IndexSizeError: F
ailed to execute 'createImageBitmap' on 'Window': The source width provided is 0
. |
15 PASS bitmap.width is 0 | 16 PASS bitmap.width is 0 |
16 PASS bitmap.height is 0 | 17 PASS bitmap.height is 0 |
17 PASS bitmap.width is imgWidth | 18 PASS bitmap.width is imgWidth |
18 PASS bitmap.height is imgHeight | 19 PASS bitmap.height is imgHeight |
19 PASS bitmap.width is 0 | 20 PASS bitmap.width is 0 |
20 PASS bitmap.height is 0 | 21 PASS bitmap.height is 0 |
21 PASS bitmap.width is 0 | 22 PASS bitmap.width is 0 |
22 PASS bitmap.height is 0 | 23 PASS bitmap.height is 0 |
23 PASS successfullyParsed is true | 24 PASS successfullyParsed is true |
24 | 25 |
25 TEST COMPLETE | 26 TEST COMPLETE |
26 | 27 |
OLD | NEW |