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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGStringList.js

Issue 2741463002: Remove SVGTests.requiredFeatures attribute
Patch Set: rebase Created 3 years, 9 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/script-tests/SVGStringList.js
diff --git a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGStringList.js b/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGStringList.js
deleted file mode 100644
index 36e5694477ec333f8acdf5c3a4cc833186f286c2..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGStringList.js
+++ /dev/null
@@ -1,21 +0,0 @@
-description("This test checks the SVGStringList API - utilizing the requiredFeatures property of SVGRectElement");
fs 2017/03/23 16:55:44 This test should be rewritten to use another SVGSt
-
-var svgElement = document.createElementNS("http://www.w3.org/2000/svg", "svg");
-var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
-rect.setAttribute("requiredFeatures", "foo bar");
-
-debug("");
-debug("Check initial requiredFeatures values");
-shouldBe("rect.requiredFeatures.numberOfItems", "2");
-shouldBeEqualToString("rect.requiredFeatures.getItem(0)", "foo");
-shouldBeEqualToString("rect.requiredFeatures.getItem(1)", "bar");
-
-debug("");
-debug("Check that getItem() does NOT return live strings, as the IDL defines the return types as plain DOMString");
-var firstItem = rect.requiredFeatures.getItem(0);
-shouldBeEqualToString("firstItem = 'test'", "test");
-shouldBe("rect.requiredFeatures.numberOfItems", "2");
-shouldBeEqualToString("rect.requiredFeatures.getItem(0)", "foo");
-shouldBeEqualToString("rect.requiredFeatures.getItem(1)", "bar");
-
-successfullyParsed = true;

Powered by Google App Engine
This is Rietveld 408576698