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

Side by Side Diff: LayoutTests/svg/dynamic-updates/SVGPathElement-valid-arguments.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <script> 5 <script>
6 var pathElement = document.createElementNS("http://www.w3.org/2000/svg","p ath"); 6 var pathElement = document.createElementNS("http://www.w3.org/2000/svg","p ath");
7 7
8 shouldThrow('pathElement.getPointAtLength()', 8 shouldThrow('pathElement.getPointAtLength()',
9 '"TypeError: Failed to execute \'getPointAtLength\' on \'SVGPathElement\ ': 1 argument required, but only 0 present."'); 9 '"TypeError: Failed to execute \'getPointAtLength\' on \'SVGPathElement\ ': 1 argument required, but only 0 present."');
10 10
11 shouldThrow('pathElement.getPathSegAtLength()', 11 shouldThrow('pathElement.getPathSegAtLength()',
12 '"TypeError: Failed to execute \'getPathSegAtLength\' on \'SVGPathElemen t\': 1 argument required, but only 0 present."'); 12 '"TypeError: Failed to execute \'getPathSegAtLength\' on \'SVGPathElemen t\': 1 argument required, but only 0 present."');
13 13
14 shouldThrow('pathElement.createSVGPathSegMovetoAbs(0.0)', 14 shouldThrow('pathElement.createSVGPathSegMovetoAbs(0.0)',
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 shouldThrow('pathElement.createSVGPathSegCurvetoQuadraticSmoothAbs(0.0)', 62 shouldThrow('pathElement.createSVGPathSegCurvetoQuadraticSmoothAbs(0.0)',
63 '"TypeError: Failed to execute \'createSVGPathSegCurvetoQuadraticSmoothA bs\' on \'SVGPathElement\': 2 arguments required, but only 1 present."'); 63 '"TypeError: Failed to execute \'createSVGPathSegCurvetoQuadraticSmoothA bs\' on \'SVGPathElement\': 2 arguments required, but only 1 present."');
64 64
65 shouldThrow('pathElement.createSVGPathSegCurvetoQuadraticSmoothRel(0.0)', 65 shouldThrow('pathElement.createSVGPathSegCurvetoQuadraticSmoothRel(0.0)',
66 '"TypeError: Failed to execute \'createSVGPathSegCurvetoQuadraticSmoothR el\' on \'SVGPathElement\': 2 arguments required, but only 1 present."'); 66 '"TypeError: Failed to execute \'createSVGPathSegCurvetoQuadraticSmoothR el\' on \'SVGPathElement\': 2 arguments required, but only 1 present."');
67 </script> 67 </script>
68 <p id="description">Test that correct exceptions are thrown from SVGPath Element methods.</p> 68 <p id="description">Test that correct exceptions are thrown from SVGPath Element methods.</p>
69 <div id="console"></div> 69 <div id="console"></div>
70 </body> 70 </body>
71 </html> 71 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698