Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: LayoutTests/fast/canvas/canvas-lineDash-invalid-expected.txt

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Test for invalid input of setLineDash, getLineDash and lineDashOffset 1 Test for invalid input of setLineDash, getLineDash and lineDashOffset
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 trySettingLineDash([1, -1]) is initialLineDash 6 PASS trySettingLineDash([1, -1]) is initialLineDash
7 PASS trySettingLineDash([1, Infinity]) is initialLineDash 7 PASS trySettingLineDash([1, Infinity]) is initialLineDash
8 PASS trySettingLineDash([1, -Infinity]) is initialLineDash 8 PASS trySettingLineDash([1, -Infinity]) is initialLineDash
9 PASS trySettingLineDash([1, NaN]) is initialLineDash 9 PASS trySettingLineDash([1, NaN]) is initialLineDash
10 PASS trySettingLineDash([1, 'string']) is initialLineDash 10 PASS trySettingLineDash([1, 'string']) is initialLineDash
11 PASS trySettingLineDashWithNoArgs() threw exception TypeError: Not enough argume nts. 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 12 PASS trySettingLineDashOffset(Infinity) is initialLineDashOffset
13 PASS trySettingLineDashOffset(-Infinity) is initialLineDashOffset 13 PASS trySettingLineDashOffset(-Infinity) is initialLineDashOffset
14 PASS trySettingLineDashOffset(NaN) is initialLineDashOffset 14 PASS trySettingLineDashOffset(NaN) is initialLineDashOffset
15 PASS trySettingLineDashOffset('string') is initialLineDashOffset 15 PASS trySettingLineDashOffset('string') is initialLineDashOffset
16 PASS successfullyParsed is true 16 PASS successfullyParsed is true
17 17
18 TEST COMPLETE 18 TEST COMPLETE
19 19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698