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

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

Issue 2705293005: Convert LayoutTests/svg/dom/SVGAnimated*.html js-tests.js to testharness.js based tests. (Closed)
Patch Set: Align with review comments Created 3 years, 10 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/SVGAnimatedBoolean.js
diff --git a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedBoolean.js b/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedBoolean.js
deleted file mode 100644
index e0d6ac6348f1220edc49363a43b447cb1e3b9a83..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedBoolean.js
+++ /dev/null
@@ -1,39 +0,0 @@
-description("This test checks the SVGAnimatedBoolean API - utilizing the preserveAlpha property of SVGFEConvolveMatrixElement");
-
-var convElement = document.createElementNS("http://www.w3.org/2000/svg", "feConvolveMatrix");
-debug("");
-debug("Check initial preserveAlpha value");
-shouldBe("convElement.preserveAlpha.baseVal", "false");
-
-debug("");
-debug("Set value to true");
-shouldBe("convElement.preserveAlpha.baseVal = true", "true");
-
-debug("");
-debug("Caching baseVal in local variable");
-var baseVal = convElement.preserveAlpha.baseVal;
-shouldBe("baseVal", "true");
-
-debug("");
-debug("Modify local baseVal variable to true");
-shouldBeFalse("baseVal = false");
-
-debug("");
-debug("Assure that convElement.preserveAlpha has not been changed, but the local baseVal variable");
-shouldBe("baseVal", "false");
-shouldBe("convElement.preserveAlpha.baseVal", "true");
-
-debug("");
-debug("Check assigning values of various types");
-// ECMA-262, 9.2, "ToBoolean"
-shouldBe("convElement.preserveAlpha.baseVal = convElement.preserveAlpha", "convElement.preserveAlpha");
-shouldBe("convElement.preserveAlpha.baseVal", "true");
-shouldBeNull("convElement.preserveAlpha.baseVal = null");
-shouldBe("convElement.preserveAlpha.baseVal", "false");
-shouldBe("convElement.preserveAlpha.baseVal = 'aString'", "'aString'");
-shouldBe("convElement.preserveAlpha.baseVal", "true");
-convElement.preserveAlpha.baseVal = false;
-shouldBe("convElement.preserveAlpha.baseVal = convElement", "convElement");
-shouldBe("convElement.preserveAlpha.baseVal", "true");
-
-successfullyParsed = true;

Powered by Google App Engine
This is Rietveld 408576698