1 Test that setting various CanvasRenderingContext2D properties to invalid values has no effect.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS trySettingMiterLimit(1) is 1
7 PASS trySettingMiterLimit(0) is 1.5
8 PASS trySettingMiterLimit(-1) is 1.5
9 PASS trySettingMiterLimit(Infinity) is 1.5
10 PASS trySettingMiterLimit(-Infinity) is 1.5
11 PASS trySettingMiterLimit(NaN) is 1.5
12 PASS trySettingMiterLimit('string') is 1.5
13 PASS trySettingMiterLimit(true) is 1
14 PASS trySettingMiterLimit(false) is 1.5
15 PASS trySettingLineWidth(1) is 1
16 PASS trySettingLineWidth(0) is 1.5
17 PASS trySettingLineWidth(-1) is 1.5
18 PASS trySettingLineWidth(Infinity) is 1.5
19 PASS trySettingLineWidth(-Infinity) is 1.5
20 PASS trySettingLineWidth(NaN) is 1.5
21 PASS trySettingLineWidth('string') is 1.5
22 PASS trySettingLineWidth(true) is 1
23 PASS trySettingLineWidth(false) is 1.5
24 PASS trySettingShadowBlur(1) is 1
25 PASS trySettingShadowBlur(0) is 0
26 PASS trySettingShadowBlur(-1) is 1.5
27 PASS trySettingShadowBlur(Infinity) is 1.5
28 PASS trySettingShadowBlur(-Infinity) is 1.5
29 PASS trySettingShadowBlur(NaN) is 1.5
30 PASS trySettingShadowBlur('string') is 1.5
31 PASS trySettingShadowBlur(true) is 1
32 PASS trySettingShadowBlur(false) is 0
33 PASS trySettingShadowOffsetX(1) is 1
34 PASS trySettingShadowOffsetX(0) is 0
35 PASS trySettingShadowOffsetX(-1) is -1
36 PASS trySettingShadowOffsetX(Infinity) is 1.5
37 PASS trySettingShadowOffsetX(-Infinity) is 1.5
38 PASS trySettingShadowOffsetX(NaN) is 1.5
39 PASS trySettingShadowOffsetX('string') is 1.5
40 PASS trySettingShadowOffsetX(true) is 1
41 PASS trySettingShadowOffsetX(false) is 0
42 PASS trySettingShadowOffsetY(1) is 1
43 PASS trySettingShadowOffsetY(0) is 0
44 PASS trySettingShadowOffsetY(-1) is -1
45 PASS trySettingShadowOffsetY(Infinity) is 1.5
46 PASS trySettingShadowOffsetY(-Infinity) is 1.5
47 PASS trySettingShadowOffsetY(NaN) is 1.5
48 PASS trySettingShadowOffsetY('string') is 1.5
49 PASS trySettingShadowOffsetY(true) is 1
50 PASS trySettingShadowOffsetY(false) is 0
51 PASS successfullyParsed is true