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

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

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 | « no previous file | LayoutTests/svg/dom/undefined-null-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 <svg> 3 <svg>
4 <circle></circle> 4 <circle></circle>
5 <text></text> 5 <text></text>
6 </svg> 6 </svg>
7 <script> 7 <script>
8 description( 8 description(
9 'Check that |undefined| and |null| arguments do not cause crashes, ' + 9 'Check that |undefined| and |null| arguments do not cause crashes, ' +
10 'but do throw exceptions.'); 10 'but do throw exceptions.');
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 debug(''); 65 debug('');
66 debug('checkEnclosure(SVGElement element, SVGRect rect)'); 66 debug('checkEnclosure(SVGElement element, SVGRect rect)');
67 shouldNotThrow('svg.checkEnclosure(svg, rect)'); 67 shouldNotThrow('svg.checkEnclosure(svg, rect)');
68 shouldThrow('svg.checkEnclosure(undefined, rect)'); 68 shouldThrow('svg.checkEnclosure(undefined, rect)');
69 shouldThrow('svg.checkEnclosure(null, rect)'); 69 shouldThrow('svg.checkEnclosure(null, rect)');
70 shouldThrow('svg.checkEnclosure(svg, undefined)'); 70 shouldThrow('svg.checkEnclosure(svg, undefined)');
71 shouldThrow('svg.checkEnclosure(svg, null)'); 71 shouldThrow('svg.checkEnclosure(svg, null)');
72 72
73 debug(''); 73 debug('');
74 debug('SVGTransform createSVGTransformFromMatrix([Default=Undefined] optional SV GMatrix matrix)'); 74 debug('SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix)');
75 // shouldNotThrow('svg.createSVGTransformFromMatrix()'); // FAIL 75 shouldThrow('svg.createSVGTransformFromMatrix()');
76 shouldNotThrow('svg.createSVGTransformFromMatrix(matrix)'); 76 shouldNotThrow('svg.createSVGTransformFromMatrix(matrix)');
77 shouldThrow('svg.createSVGTransformFromMatrix(undefined)'); 77 shouldThrow('svg.createSVGTransformFromMatrix(undefined)');
78 shouldThrow('svg.createSVGTransformFromMatrix(null)'); 78 shouldThrow('svg.createSVGTransformFromMatrix(null)');
79 79
80 80
81 debug(''); 81 debug('');
82 debug(''); 82 debug('');
83 debug('SVGTextContentElement'); 83 debug('SVGTextContentElement');
84 84
85 debug(''); 85 debug('');
86 debug('getCharNumAtPosition(SVGPoint point)'); 86 debug('getCharNumAtPosition(SVGPoint point)');
87 shouldNotThrow('text.getCharNumAtPosition(point)'); 87 shouldNotThrow('text.getCharNumAtPosition(point)');
88 shouldThrow('text.getCharNumAtPosition(undefined)'); 88 shouldThrow('text.getCharNumAtPosition(undefined)');
89 shouldThrow('text.getCharNumAtPosition(null)'); 89 shouldThrow('text.getCharNumAtPosition(null)');
90 90
91 </script> 91 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/dom/undefined-null-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698