1 Test that invalid canvas getContext() requests return null.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS canvas.getContext('') is null
7 PASS canvas.getContext('2d#') is null
8 PASS canvas.getContext('This is clearly not a valid context name.') is null
9 PASS canvas.getContext('2d\0') is null
10 PASS canvas.getContext('2d') is null
11 PASS canvas.getContext('2D') is null
12 PASS canvas.getContext() threw exception TypeError: Failed to execute 'getContext' on 'HTMLCanvasElement': 1 argument required, but only 0 present..
13 PASS canvas.getContext('null') is null
14 PASS canvas.getContext('undefined') is null
15 PASS successfullyParsed is true