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

Side by Side Diff: LayoutTests/svg/dom/SVGPoint-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 This test checks the SVGPoint API 1 This test checks the SVGPoint API
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 6
7 Check initial point values 7 Check initial point values
8 PASS point.x is 0 8 PASS point.x is 0
9 PASS point.y is 0 9 PASS point.y is 0
10 10
(...skipping 10 matching lines...) Expand all
21 PASS point.y is 0 21 PASS point.y is 0
22 22
23 Reset to -50, 100 23 Reset to -50, 100
24 24
25 Check 'matrixTransform' method - multiply with -1,0,0,2,10,10 matrix, should fli p x coordinate, multiply y by two and translate each coordinate by 10 25 Check 'matrixTransform' method - multiply with -1,0,0,2,10,10 matrix, should fli p x coordinate, multiply y by two and translate each coordinate by 10
26 PASS (newPoint = point.matrixTransform(ctm)).toString() is "[object SVGPoint]" 26 PASS (newPoint = point.matrixTransform(ctm)).toString() is "[object SVGPoint]"
27 PASS newPoint.x is 60 27 PASS newPoint.x is 60
28 PASS newPoint.y is 210 28 PASS newPoint.y is 210
29 29
30 Check invalid arguments for 'matrixTransform' 30 Check invalid arguments for 'matrixTransform'
31 PASS point.matrixTransform() threw exception TypeError: Not enough arguments. 31 PASS point.matrixTransform() threw exception TypeError: Failed to execute 'matri xTransform' on 'SVGPoint': 1 argument required, but only 0 present..
32 PASS point.matrixTransform(-1) threw exception TypeError: Type error. 32 PASS point.matrixTransform(-1) threw exception TypeError: Type error.
33 PASS point.matrixTransform(5) threw exception TypeError: Type error. 33 PASS point.matrixTransform(5) threw exception TypeError: Type error.
34 PASS point.matrixTransform('aString') threw exception TypeError: Type error. 34 PASS point.matrixTransform('aString') threw exception TypeError: Type error.
35 PASS point.matrixTransform(point) threw exception TypeError: Type error. 35 PASS point.matrixTransform(point) threw exception TypeError: Type error.
36 PASS point.matrixTransform(svgElement) threw exception TypeError: Type error. 36 PASS point.matrixTransform(svgElement) threw exception TypeError: Type error.
37 PASS successfullyParsed is true 37 PASS successfullyParsed is true
38 38
39 TEST COMPLETE 39 TEST COMPLETE
40 40
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/SVGPaint-expected.txt ('k') | LayoutTests/svg/dom/SVGPointList-basics-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698