1 Test for invalid input of setLineDash, getLineDash and lineDashOffset
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS trySettingLineDash([1, -1]) is initialLineDash
7 PASS trySettingLineDash([1, Infinity]) is initialLineDash
8 PASS trySettingLineDash([1, -Infinity]) is initialLineDash
9 PASS trySettingLineDash([1, NaN]) is initialLineDash
10 PASS trySettingLineDash([1, 'string']) is initialLineDash
11 PASS trySettingLineDashWithNoArgs() threw exception TypeError: Failed to execute 'setLineDash' on 'CanvasRenderingContext2D': 1 argument required, but only 0 present..
12 PASS trySettingLineDashOffset(Infinity) is initialLineDashOffset
13 PASS trySettingLineDashOffset(-Infinity) is initialLineDashOffset
14 PASS trySettingLineDashOffset(NaN) is initialLineDashOffset
15 PASS trySettingLineDashOffset('string') is initialLineDashOffset
16 PASS successfullyParsed is true