OLD | NEW |
1 Test that invalid canvas getContext() requests return null. | 1 Test that invalid canvas getContext() requests return null. |
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 canvas.getContext('') is null | 6 PASS canvas.getContext('') is null |
7 PASS canvas.getContext('2d#') is null | 7 PASS canvas.getContext('2d#') is null |
8 PASS canvas.getContext('This is clearly not a valid context name.') is null | 8 PASS canvas.getContext('This is clearly not a valid context name.') is null |
9 PASS canvas.getContext('2d\0') is null | 9 PASS canvas.getContext('2d\0') is null |
10 PASS canvas.getContext('2d') is null | 10 PASS canvas.getContext('2d') is null |
11 PASS canvas.getContext('2D') is null | 11 PASS canvas.getContext('2D') is null |
| 12 PASS canvas.getContext() threw exception TypeError: Failed to execute 'getContex
t' on 'HTMLCanvasElement': 1 argument required, but only 0 present.. |
| 13 PASS canvas.getContext('null') is null |
| 14 PASS canvas.getContext('undefined') is null |
12 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
13 | 16 |
14 TEST COMPLETE | 17 TEST COMPLETE |
15 | 18 |
OLD | NEW |