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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedAngle.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/SVGAnimatedAngle.js
diff --git a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedAngle.js b/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedAngle.js
deleted file mode 100644
index 9fa2bb11b8d59d08dbf28ad2ca19a0001577c3c0..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dom/script-tests/SVGAnimatedAngle.js
+++ /dev/null
@@ -1,29 +0,0 @@
-description("This test checks the SVGAnimatedAngle API - utilizing the orientAngle property of SVGMarkerElement");
-
-var markerElement = document.createElementNS("http://www.w3.org/2000/svg", "marker");
-
-debug("");
-debug("Check initial orientAngle value");
-shouldBeEqualToString("markerElement.orientAngle.toString()", "[object SVGAnimatedAngle]");
-shouldBeEqualToString("markerElement.orientAngle.baseVal.toString()", "[object SVGAngle]");
-shouldBe("markerElement.orientAngle.baseVal.value", "0");
-
-debug("");
-debug("Check that angles are dynamic, caching value in a local variable and modifying it, should take effect");
-var numRef = markerElement.orientAngle.baseVal;
-numRef.value = 100;
-shouldBe("numRef.value", "100");
-shouldBe("markerElement.orientAngle.baseVal.value", "100");
-
-debug("");
-debug("Check that assigning to baseVal has no effect, as no setter is defined");
-shouldBe("markerElement.orientAngle.baseVal = -1", "-1");
-shouldBeEqualToString("markerElement.orientAngle.baseVal = 'aString'", "aString");
-shouldBe("markerElement.orientAngle.baseVal = markerElement", "markerElement");
-
-debug("");
-debug("Check that the orientAngle value remained 100, and the baseVal type has not been changed");
-shouldBeEqualToString("markerElement.orientAngle.baseVal.toString()", "[object SVGAngle]");
-shouldBe("markerElement.orientAngle.baseVal.value", "100");
-
-successfullyParsed = true;

Powered by Google App Engine
This is Rietveld 408576698