| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |