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