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

Unified Diff: third_party/WebKit/LayoutTests/svg/dynamic-updates/SVGPathElement-valid-arguments.html

Issue 2413753004: Move getTotalLength and getPointAtLength methods from SVGPathElement to SVGGeometryElement. (Closed)
Patch Set: Align with review comments Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/svg/dynamic-updates/SVGPathElement-valid-arguments.html
diff --git a/third_party/WebKit/LayoutTests/svg/dynamic-updates/SVGPathElement-valid-arguments.html b/third_party/WebKit/LayoutTests/svg/dynamic-updates/SVGPathElement-valid-arguments.html
deleted file mode 100644
index 285ff5ada2c9a1a4b8f30ad855518b8f398e022d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dynamic-updates/SVGPathElement-valid-arguments.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<html>
- <body>
- <script src="../../resources/js-test.js"></script>
- <script>
- var pathElement = document.createElementNS("http://www.w3.org/2000/svg","path");
-
- shouldThrow('pathElement.getPointAtLength()',
- '"TypeError: Failed to execute \'getPointAtLength\' on \'SVGPathElement\': 1 argument required, but only 0 present."');
- shouldThrow('pathElement.getPointAtLength(NaN)',
- '"TypeError: Failed to execute \'getPointAtLength\' on \'SVGPathElement\': The provided float value is non-finite."');
- shouldThrow('pathElement.getPointAtLength(Infinity)',
- '"TypeError: Failed to execute \'getPointAtLength\' on \'SVGPathElement\': The provided float value is non-finite."');
-
- shouldThrow('pathElement.getPathSegAtLength()',
- '"TypeError: Failed to execute \'getPathSegAtLength\' on \'SVGPathElement\': 1 argument required, but only 0 present."');
- shouldThrow('pathElement.getPathSegAtLength(NaN)',
- '"TypeError: Failed to execute \'getPathSegAtLength\' on \'SVGPathElement\': The provided float value is non-finite."');
- shouldThrow('pathElement.getPathSegAtLength(Infinity)',
- '"TypeError: Failed to execute \'getPathSegAtLength\' on \'SVGPathElement\': The provided float value is non-finite."');
- </script>
- <p id="description">Test that correct exceptions are thrown from SVGPathElement methods.</p>
- <div id="console"></div>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698