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 40 | |
7 PASS aCanvas.height is 60 | |
8 PASS aCanvas.width is 110 | |
9 PASS aCanvas.height is 90 | |
10 PASS aCanvas.width is 0 | |
11 PASS ctx = aCanvas.getContext('2d') did not throw exception. | |
12 PASS ctx is an instance of OffscreenCanvasRenderingContext2D | |
13 PASS ctx2 is null | |
14 PASS ctx3 is non-null. | |
15 PASS ctx3 == ctx is true | |
16 PASS ctx4 is an instance of WebGLRenderingContext | |
17 PASS successfullyParsed is true | |
18 | |
19 TEST COMPLETE | |
20 | |
OLD | NEW |