OLD | NEW |
(Empty) | |
| 1 Tests basic functionalities of offscreenCanvas.getContext on the main thread |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS aCanvas.width is 50 |
| 7 PASS aCanvas.height is 50 |
| 8 PASS aCanvas.width is 100 |
| 9 PASS aCanvas.height is 100 |
| 10 PASS ctx = aCanvas.getContext('2d') did not throw exception. |
| 11 PASS ctx is an instance of OffscreenCanvasRenderingContext2D |
| 12 PASS ctx2 is null |
| 13 PASS ctx3 is non-null. |
| 14 PASS ctx3 == ctx is true |
| 15 PASS ctx4 is null |
| 16 PASS successfullyParsed is true |
| 17 |
| 18 TEST COMPLETE |
| 19 |
OLD | NEW |