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

Side by Side Diff: LayoutTests/svg/dom/undefined-null-expected.txt

Issue 149603007: Fixup SVGSVGElement.createSVGTransformFromMatrix IDL definition (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« no previous file with comments | « LayoutTests/svg/dom/undefined-null.html ('k') | Source/core/svg/SVGSVGElement.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Check that |undefined| and |null| arguments do not cause crashes, but do throw e xceptions. 1 Check that |undefined| and |null| arguments do not cause crashes, but do throw e xceptions.
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 SVGGeometryElement 6 SVGGeometryElement
7 7
8 isPointInFill(SVGPoint point) 8 isPointInFill(SVGPoint point)
9 PASS circle.isPointInFill(point) did not throw exception. 9 PASS circle.isPointInFill(point) did not throw exception.
10 PASS circle.isPointInFill(undefined) threw exception TypeError: Failed to execut e 'isPointInFill' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint' .. 10 PASS circle.isPointInFill(undefined) threw exception TypeError: Failed to execut e 'isPointInFill' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint' ..
(...skipping 28 matching lines...) Expand all
39 PASS svg.checkIntersection(svg, undefined) threw exception TypeError: Failed to execute 'checkIntersection' on 'SVGSVGElement': parameter 2 is not of type 'SVGR ect'.. 39 PASS svg.checkIntersection(svg, undefined) threw exception TypeError: Failed to execute 'checkIntersection' on 'SVGSVGElement': parameter 2 is not of type 'SVGR ect'..
40 PASS svg.checkIntersection(svg, null) threw exception TypeError: Failed to execu te 'checkIntersection' on 'SVGSVGElement': parameter 2 is not of type 'SVGRect'. . 40 PASS svg.checkIntersection(svg, null) threw exception TypeError: Failed to execu te 'checkIntersection' on 'SVGSVGElement': parameter 2 is not of type 'SVGRect'. .
41 41
42 checkEnclosure(SVGElement element, SVGRect rect) 42 checkEnclosure(SVGElement element, SVGRect rect)
43 PASS svg.checkEnclosure(svg, rect) did not throw exception. 43 PASS svg.checkEnclosure(svg, rect) did not throw exception.
44 PASS svg.checkEnclosure(undefined, rect) threw exception TypeError: Failed to ex ecute 'checkEnclosure' on 'SVGSVGElement': parameter 1 is not of type 'SVGElemen t'.. 44 PASS svg.checkEnclosure(undefined, rect) threw exception TypeError: Failed to ex ecute 'checkEnclosure' on 'SVGSVGElement': parameter 1 is not of type 'SVGElemen t'..
45 PASS svg.checkEnclosure(null, rect) threw exception TypeError: Failed to execute 'checkEnclosure' on 'SVGSVGElement': parameter 1 is not of type 'SVGElement'.. 45 PASS svg.checkEnclosure(null, rect) threw exception TypeError: Failed to execute 'checkEnclosure' on 'SVGSVGElement': parameter 1 is not of type 'SVGElement'..
46 PASS svg.checkEnclosure(svg, undefined) threw exception TypeError: Failed to exe cute 'checkEnclosure' on 'SVGSVGElement': parameter 2 is not of type 'SVGRect'.. 46 PASS svg.checkEnclosure(svg, undefined) threw exception TypeError: Failed to exe cute 'checkEnclosure' on 'SVGSVGElement': parameter 2 is not of type 'SVGRect'..
47 PASS svg.checkEnclosure(svg, null) threw exception TypeError: Failed to execute 'checkEnclosure' on 'SVGSVGElement': parameter 2 is not of type 'SVGRect'.. 47 PASS svg.checkEnclosure(svg, null) threw exception TypeError: Failed to execute 'checkEnclosure' on 'SVGSVGElement': parameter 2 is not of type 'SVGRect'..
48 48
49 SVGTransform createSVGTransformFromMatrix([Default=Undefined] optional SVGMatrix matrix) 49 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix)
50 PASS svg.createSVGTransformFromMatrix() threw exception TypeError: Failed to exe cute 'createSVGTransformFromMatrix' on 'SVGSVGElement': 1 argument required, but only 0 present..
50 PASS svg.createSVGTransformFromMatrix(matrix) did not throw exception. 51 PASS svg.createSVGTransformFromMatrix(matrix) did not throw exception.
51 PASS svg.createSVGTransformFromMatrix(undefined) threw exception TypeError: Fail ed to execute 'createSVGTransformFromMatrix' on 'SVGSVGElement': parameter 1 is not of type 'SVGMatrix'.. 52 PASS svg.createSVGTransformFromMatrix(undefined) threw exception TypeError: Fail ed to execute 'createSVGTransformFromMatrix' on 'SVGSVGElement': parameter 1 is not of type 'SVGMatrix'..
52 PASS svg.createSVGTransformFromMatrix(null) threw exception TypeError: Failed to execute 'createSVGTransformFromMatrix' on 'SVGSVGElement': parameter 1 is not o f type 'SVGMatrix'.. 53 PASS svg.createSVGTransformFromMatrix(null) threw exception TypeError: Failed to execute 'createSVGTransformFromMatrix' on 'SVGSVGElement': parameter 1 is not o f type 'SVGMatrix'..
53 54
54 55
55 SVGTextContentElement 56 SVGTextContentElement
56 57
57 getCharNumAtPosition(SVGPoint point) 58 getCharNumAtPosition(SVGPoint point)
58 PASS text.getCharNumAtPosition(point) did not throw exception. 59 PASS text.getCharNumAtPosition(point) did not throw exception.
59 PASS text.getCharNumAtPosition(undefined) threw exception TypeError: Failed to e xecute 'getCharNumAtPosition' on 'SVGTextContentElement': parameter 1 is not of type 'SVGPoint'.. 60 PASS text.getCharNumAtPosition(undefined) threw exception TypeError: Failed to e xecute 'getCharNumAtPosition' on 'SVGTextContentElement': parameter 1 is not of type 'SVGPoint'..
60 PASS text.getCharNumAtPosition(null) threw exception TypeError: Failed to execut e 'getCharNumAtPosition' on 'SVGTextContentElement': parameter 1 is not of type 'SVGPoint'.. 61 PASS text.getCharNumAtPosition(null) threw exception TypeError: Failed to execut e 'getCharNumAtPosition' on 'SVGTextContentElement': parameter 1 is not of type 'SVGPoint'..
61 PASS successfullyParsed is true 62 PASS successfullyParsed is true
62 63
63 TEST COMPLETE 64 TEST COMPLETE
64 65
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/undefined-null.html ('k') | Source/core/svg/SVGSVGElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698