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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/SVGPathSegList-clear-and-initialize-expected.txt

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/SVGPathSegList-clear-and-initialize-expected.txt
diff --git a/third_party/WebKit/LayoutTests/svg/dom/SVGPathSegList-clear-and-initialize-expected.txt b/third_party/WebKit/LayoutTests/svg/dom/SVGPathSegList-clear-and-initialize-expected.txt
deleted file mode 100644
index 82a7038f5682b205042a406bc1b08c113b8d58c1..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dom/SVGPathSegList-clear-and-initialize-expected.txt
+++ /dev/null
@@ -1,98 +0,0 @@
-This is a test of the SVGPathSegList::appendItem() API.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-
-Check initial 'pathSegList' value of path1
-PASS path1.pathSegList.numberOfItems is 3
-PASS path1.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]"
-PASS path1.pathSegList.getItem(0).x is 100
-PASS path1.pathSegList.getItem(0).y is 100
-PASS path1.pathSegList.getItem(1).toString() is "[object SVGPathSegLinetoAbs]"
-PASS path1.pathSegList.getItem(1).x is 100
-PASS path1.pathSegList.getItem(1).y is 0
-PASS path1.pathSegList.getItem(2).toString() is "[object SVGPathSegLinetoAbs]"
-PASS path1.pathSegList.getItem(2).x is 100
-PASS path1.pathSegList.getItem(2).y is 100
-
-Check initial 'pathSegList' value of path2
-PASS path2.pathSegList.numberOfItems is 3
-PASS path2.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]"
-PASS path2.pathSegList.getItem(0).x is 50
-PASS path2.pathSegList.getItem(0).y is 50
-PASS path2.pathSegList.getItem(1).toString() is "[object SVGPathSegLinetoAbs]"
-PASS path2.pathSegList.getItem(1).x is 0
-PASS path2.pathSegList.getItem(1).y is 100
-PASS path2.pathSegList.getItem(2).toString() is "[object SVGPathSegMovetoAbs]"
-PASS path2.pathSegList.getItem(2).x is 0
-PASS path2.pathSegList.getItem(2).y is 0
-
-Cache first item of path1 in local variable 'item0'
-PASS item0.x is 100
-PASS item0.y is 100
-
-Clear path1 segment list
-PASS path1.pathSegList.clear() is undefined.
-
-Verify that item0 is still alive, and can be modified
-PASS item0.x is 100
-PASS item0.y is 100
-PASS item0.x += 50 is 150
-PASS item0.y += 50 is 150
-
-Check intermediate list state of path1
-PASS path1.pathSegList.numberOfItems is 0
-PASS path1.pathSegList.getItem(0) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGPathSegList': The index provided (0) is greater than or equal to the maximum bound (0)..
-
-Check intermediate list state of path2
-PASS path2.pathSegList.numberOfItems is 3
-PASS path2.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]"
-PASS path2.pathSegList.getItem(0).x is 50
-PASS path2.pathSegList.getItem(0).y is 50
-PASS path2.pathSegList.getItem(1).toString() is "[object SVGPathSegLinetoAbs]"
-PASS path2.pathSegList.getItem(1).x is 0
-PASS path2.pathSegList.getItem(1).y is 100
-PASS path2.pathSegList.getItem(2).toString() is "[object SVGPathSegMovetoAbs]"
-PASS path2.pathSegList.getItem(2).x is 0
-PASS path2.pathSegList.getItem(2).y is 0
-
-Initialize path1 list with first item of path2
-PASS path1.pathSegList.initialize(path2.pathSegList.getItem(0)).toString() is "[object SVGPathSegMovetoAbs]"
-
-Check intermediate list state of path1
-PASS path1.pathSegList.numberOfItems is 1
-PASS path1.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]"
-PASS path1.pathSegList.getItem(0).x is 50
-PASS path1.pathSegList.getItem(0).y is 50
-
-Check intermediate list state of path2
-PASS path2.pathSegList.numberOfItems is 3
-PASS path2.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]"
-PASS path2.pathSegList.getItem(0).x is 50
-PASS path2.pathSegList.getItem(0).y is 50
-PASS path2.pathSegList.getItem(1).toString() is "[object SVGPathSegLinetoAbs]"
-PASS path2.pathSegList.getItem(1).x is 0
-PASS path2.pathSegList.getItem(1).y is 100
-PASS path2.pathSegList.getItem(2).toString() is "[object SVGPathSegMovetoAbs]"
-PASS path2.pathSegList.getItem(2).x is 0
-PASS path2.pathSegList.getItem(2).y is 0
-
-Initialize path2 list with item0
-PASS path2.pathSegList.initialize(item0).toString() is "[object SVGPathSegMovetoAbs]"
-
-Check final list state of path1
-PASS path1.pathSegList.numberOfItems is 1
-PASS path1.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]"
-PASS path1.pathSegList.getItem(0).x is 50
-PASS path1.pathSegList.getItem(0).y is 50
-
-Check final list state of path2
-PASS path2.pathSegList.numberOfItems is 1
-PASS path2.pathSegList.getItem(0).toString() is "[object SVGPathSegMovetoAbs]"
-PASS path2.pathSegList.getItem(0).x is 150
-PASS path2.pathSegList.getItem(0).y is 150
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698