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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/svgpath-out-of-bounds-getPathSeg.html

Issue 1416273002: Remove SVGPathElement.pathSegList and related interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 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/dom/svgpath-out-of-bounds-getPathSeg.html
diff --git a/third_party/WebKit/LayoutTests/svg/dom/svgpath-out-of-bounds-getPathSeg.html b/third_party/WebKit/LayoutTests/svg/dom/svgpath-out-of-bounds-getPathSeg.html
deleted file mode 100644
index 72556925f3d7a1e44de169728a1f3c2d8336410d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dom/svgpath-out-of-bounds-getPathSeg.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script>
- description("Tests that an exception is thrown if we try to get a pathSeg for a length out of the bounds of the path itself.");
- path = document.createElementNS("http://www.w3.org/2000/svg", "path");
- shouldThrow("path.pathSegList.initialize();");
- shouldBe("path.getPathSegAtLength(0)", '0');
- shouldThrow("path.insertItemBefore(null, 0)");
- shouldThrow("path.replaceItem(null, 0)");
- shouldThrow("path.appendItem(null)");
- path.pathSegList.initialize(path.createSVGPathSegClosePath());
- debug("List correctly initialised.");
- shouldBe("path.getPathSegAtLength(0)", '0');
- shouldThrow("path.insertItemBefore(null, 0)");
- shouldThrow("path.replaceItem(null, 0)");
- shouldThrow("path.appendItem(null)");
-
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698