OLD | NEW |
| (Empty) |
1 Tests that ImageBitmap is transferable and that the pixel data survives the trip
, as well as createImageBitmap(ImageBitmap) works on worker thread | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS bitmapWidth is imageWidth | |
7 PASS bitmapHeight is imageHeight | |
8 PASS bitmapWidth is 0 | |
9 PASS bitmapHeight is 0 | |
10 PASS bitmapWidth is imageWidth | |
11 PASS bitmapHeight is imageHeight | |
12 PASS newImage.data[0] is within 5 of image.data[0] | |
13 PASS newImage.data[1] is within 5 of image.data[1] | |
14 PASS newImage.data[2] is within 5 of image.data[2] | |
15 PASS newImage.data[3] is image.data[3] | |
16 PASS newImage.data[4] is within 5 of image.data[4] | |
17 PASS newImage.data[5] is within 5 of image.data[5] | |
18 PASS newImage.data[6] is within 5 of image.data[6] | |
19 PASS newImage.data[7] is image.data[7] | |
20 PASS newImage.data[8] is within 5 of image.data[8] | |
21 PASS newImage.data[9] is within 5 of image.data[9] | |
22 PASS newImage.data[10] is within 5 of image.data[10] | |
23 PASS newImage.data[11] is image.data[11] | |
24 PASS newImage.data[12] is within 5 of image.data[12] | |
25 PASS newImage.data[13] is within 5 of image.data[13] | |
26 PASS newImage.data[14] is within 5 of image.data[14] | |
27 PASS newImage.data[15] is image.data[15] | |
28 PASS newImage.data[16] is within 5 of image.data[16] | |
29 PASS newImage.data[17] is within 5 of image.data[17] | |
30 PASS newImage.data[18] is within 5 of image.data[18] | |
31 PASS newImage.data[19] is image.data[19] | |
32 PASS newImage.data[20] is within 5 of image.data[20] | |
33 PASS newImage.data[21] is within 5 of image.data[21] | |
34 PASS newImage.data[22] is within 5 of image.data[22] | |
35 PASS newImage.data[23] is image.data[23] | |
36 PASS successfullyParsed is true | |
37 | |
38 TEST COMPLETE | |
39 | |
OLD | NEW |