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

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

Issue 48903019: Delete js-test-post.js. (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="../../fast/js/resources/js-test-pre.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
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 '"TypeError: Failed to execute \'createSVGPathSegCurvetoCubicSmoothRel\' on \'SVGPathElement\': 4 arguments required, but only 3 present."'); 60 '"TypeError: Failed to execute \'createSVGPathSegCurvetoCubicSmoothRel\' on \'SVGPathElement\': 4 arguments required, but only 3 present."');
61 61
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 <script src="../../fast/js/resources/js-test-post.js"></script>
71 </body> 70 </body>
72 </html> 71 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/dynamic-updates/SVG-dynamic-css-transform.html ('k') | LayoutTests/svg/text/script-tests/TEMPLATE.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698