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

Unified Diff: LayoutTests/svg/dom/method-argument-typechecks-expected.txt

Issue 231143002: Iron out some kinks in SVG IDL files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add tests; Drop feMorphology change. Created 6 years, 8 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 | « LayoutTests/svg/dom/method-argument-typechecks.html ('k') | Source/core/svg/SVGAnimationElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/method-argument-typechecks-expected.txt
diff --git a/LayoutTests/svg/dom/method-argument-typechecks-expected.txt b/LayoutTests/svg/dom/method-argument-typechecks-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb242d01155f49ac53075ceed89a7c22618b62cc
--- /dev/null
+++ b/LayoutTests/svg/dom/method-argument-typechecks-expected.txt
@@ -0,0 +1,36 @@
+Check that invalid values of arguments throw TypeError.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+SVGAnimationElement
+
+beginElementAt(float offset)
+PASS animateElm.beginElementAt(0) did not throw exception.
+FAIL animateElm.beginElementAt(NaN) should throw an exception. Was undefined.
+FAIL animateElm.beginElementAt(Infinity) should throw an exception. Was undefined.
+
+endElementAt(float offset)
+PASS animateElm.endElementAt(0) did not throw exception.
+FAIL animateElm.endElementAt(NaN) should throw an exception. Was undefined.
+FAIL animateElm.endElementAt(Infinity) should throw an exception. Was undefined.
+
+
+SVGFEDropShadowElement
+
+setStdDeviation(float stdDeviationX, float stdDeviationY)
+PASS dropShadow.setStdDeviation(0, 0) did not throw exception.
+FAIL dropShadow.setStdDeviation(NaN, NaN) should throw an exception. Was undefined.
+FAIL dropShadow.setStdDeviation(Infinity, Infinity) should throw an exception. Was undefined.
+
+
+SVGFEGaussianBlurElement
+
+setStdDeviation(float stdDeviationX, float stdDeviationY)
+PASS gaussian.setStdDeviation(0, 0) did not throw exception.
+FAIL gaussian.setStdDeviation(NaN, NaN) should throw an exception. Was undefined.
+FAIL gaussian.setStdDeviation(Infinity, Infinity) should throw an exception. Was undefined.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/svg/dom/method-argument-typechecks.html ('k') | Source/core/svg/SVGAnimationElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698