OLD | NEW |
| (Empty) |
1 Test for invalid input of setLineDash, getLineDash and lineDashOffset | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
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 pr
esent.. | |
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 | |
17 | |
18 TEST COMPLETE | |
19 | |
OLD | NEW |