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

Unified Diff: LayoutTests/svg/dom/method-argument-aritychecks-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
Index: LayoutTests/svg/dom/method-argument-aritychecks-expected.txt
diff --git a/LayoutTests/svg/dom/method-argument-aritychecks-expected.txt b/LayoutTests/svg/dom/method-argument-aritychecks-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6213d00cb55f5e94491bdf3a7428c83d76d23f8d
--- /dev/null
+++ b/LayoutTests/svg/dom/method-argument-aritychecks-expected.txt
@@ -0,0 +1,48 @@
+Check that incorrect number 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() threw exception TypeError: Failed to execute 'beginElementAt' on 'SVGAnimationElement': 1 argument required, but only 0 present..
+PASS animateElm.beginElementAt(0) did not throw exception.
+
+endElementAt(float offset)
+PASS animateElm.endElementAt() threw exception TypeError: Failed to execute 'endElementAt' on 'SVGAnimationElement': 1 argument required, but only 0 present..
+PASS animateElm.endElementAt(0) did not throw exception.
+
+
+SVGElementInstanceList
+
+item(unsigned long index)
+PASS useElm.instanceRoot.childNodes.item() threw exception TypeError: Failed to execute 'item' on 'SVGElementInstanceList': 1 argument required, but only 0 present..
+PASS useElm.instanceRoot.childNodes.item(0) did not throw exception.
+
+
+SVGFEDropShadowElement
+
+setStdDeviation(float stdDeviationX, float stdDeviationY)
+PASS dropShadow.setStdDeviation() threw exception TypeError: Failed to execute 'setStdDeviation' on 'SVGFEDropShadowElement': 2 arguments required, but only 0 present..
+PASS dropShadow.setStdDeviation(0) threw exception TypeError: Failed to execute 'setStdDeviation' on 'SVGFEDropShadowElement': 2 arguments required, but only 1 present..
+PASS dropShadow.setStdDeviation(0, 0) did not throw exception.
+
+
+SVGFEGaussianBlurElement
+
+setStdDeviation(float stdDeviationX, float stdDeviationY)
+PASS gaussian.setStdDeviation() threw exception TypeError: Failed to execute 'setStdDeviation' on 'SVGFEGaussianBlurElement': 2 arguments required, but only 0 present..
+PASS gaussian.setStdDeviation(0) threw exception TypeError: Failed to execute 'setStdDeviation' on 'SVGFEGaussianBlurElement': 2 arguments required, but only 1 present..
+PASS gaussian.setStdDeviation(0, 0) did not throw exception.
+
+
+SVGTests
+
+hasExtension(DOMString extension)
+PASS rect.hasExtension() threw exception TypeError: Failed to execute 'hasExtension' on 'SVGGraphicsElement': 1 argument required, but only 0 present..
+PASS rect.hasExtension("foo") did not throw exception.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/svg/dom/method-argument-aritychecks.html ('k') | LayoutTests/svg/dom/method-argument-typechecks.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698