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

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

Issue 2389803004: Convert LayoutTests/svg/dom/SVGAnimatedEnumeration*.html js-tests.js to testharness.js based tests. (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
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFECompositeElement.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEConvolveMatrixElement.js
diff --git a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEConvolveMatrixElement.js b/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEConvolveMatrixElement.js
deleted file mode 100644
index 3e1f8bc16aa74d24a47d3192d32adef8ce9881f0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFEConvolveMatrixElement.js
+++ /dev/null
@@ -1,44 +0,0 @@
-description("This test checks the use of SVGAnimatedEnumeration within SVGFEConvolveMatrixElement");
-
-var feConvolveMatrixElement = document.createElementNS("http://www.w3.org/2000/svg", "feConvolveMatrix");
-feConvolveMatrixElement.setAttribute("edgeMode", "duplicate");
-
-debug("");
-debug("Check initial 'edgeMode' value");
-shouldBeEqualToString("feConvolveMatrixElement.edgeMode.toString()", "[object SVGAnimatedEnumeration]");
-shouldBeEqualToString("typeof(feConvolveMatrixElement.edgeMode.baseVal)", "number");
-shouldBe("feConvolveMatrixElement.edgeMode.baseVal", "SVGFEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE");
-
-debug("");
-debug("Switch to 'wrap'");
-shouldBe("feConvolveMatrixElement.edgeMode.baseVal = SVGFEConvolveMatrixElement.SVG_EDGEMODE_WRAP", "SVGFEConvolveMatrixElement.SVG_EDGEMODE_WRAP");
-shouldBe("feConvolveMatrixElement.edgeMode.baseVal", "SVGFEConvolveMatrixElement.SVG_EDGEMODE_WRAP");
-shouldBeEqualToString("feConvolveMatrixElement.getAttribute('edgeMode')", "wrap");
-
-debug("");
-debug("Switch to 'none'");
-shouldBe("feConvolveMatrixElement.edgeMode.baseVal = SVGFEConvolveMatrixElement.SVG_EDGEMODE_NONE", "SVGFEConvolveMatrixElement.SVG_EDGEMODE_NONE");
-shouldBe("feConvolveMatrixElement.edgeMode.baseVal", "SVGFEConvolveMatrixElement.SVG_EDGEMODE_NONE");
-shouldBeEqualToString("feConvolveMatrixElement.getAttribute('edgeMode')", "none");
-
-debug("");
-debug("Try setting invalid values");
-shouldThrow("feConvolveMatrixElement.edgeMode.baseVal = 4");
-shouldBe("feConvolveMatrixElement.edgeMode.baseVal", "SVGFEConvolveMatrixElement.SVG_EDGEMODE_NONE");
-shouldBeEqualToString("feConvolveMatrixElement.getAttribute('edgeMode')", "none");
-
-shouldThrow("feConvolveMatrixElement.edgeMode.baseVal = -1");
-shouldBe("feConvolveMatrixElement.edgeMode.baseVal", "SVGFEConvolveMatrixElement.SVG_EDGEMODE_NONE");
-shouldBeEqualToString("feConvolveMatrixElement.getAttribute('edgeMode')", "none");
-
-shouldThrow("feConvolveMatrixElement.edgeMode.baseVal = 0");
-shouldBe("feConvolveMatrixElement.edgeMode.baseVal", "SVGFEConvolveMatrixElement.SVG_EDGEMODE_NONE");
-shouldBeEqualToString("feConvolveMatrixElement.getAttribute('edgeMode')", "none");
-
-debug("");
-debug("Switch to 'duplicate'");
-shouldBe("feConvolveMatrixElement.edgeMode.baseVal = SVGFEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE", "SVGFEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE");
-shouldBe("feConvolveMatrixElement.edgeMode.baseVal", "SVGFEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE");
-shouldBeEqualToString("feConvolveMatrixElement.getAttribute('edgeMode')", "duplicate");
-
-successfullyParsed = true;
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedEnumeration-SVGFECompositeElement.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698