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

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

Issue 931583003: Add TypeChecking=Unrestricted to SVGElements where applicable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« 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
index cb242d01155f49ac53075ceed89a7c22618b62cc..d5a0c918fc39563dbcd09e4c27956fa5199e991f 100644
--- a/LayoutTests/svg/dom/method-argument-typechecks-expected.txt
+++ b/LayoutTests/svg/dom/method-argument-typechecks-expected.txt
@@ -7,29 +7,33 @@ 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.
+PASS animateElm.beginElementAt(NaN) threw exception TypeError: Failed to execute 'beginElementAt' on 'SVGAnimationElement': The provided float value is non-finite..
+PASS animateElm.beginElementAt(Infinity) threw exception TypeError: Failed to execute 'beginElementAt' on 'SVGAnimationElement': The provided float value is non-finite..
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.
+PASS animateElm.endElementAt(NaN) threw exception TypeError: Failed to execute 'endElementAt' on 'SVGAnimationElement': The provided float value is non-finite..
+PASS animateElm.endElementAt(Infinity) threw exception TypeError: Failed to execute 'endElementAt' on 'SVGAnimationElement': The provided float value is non-finite..
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.
+PASS dropShadow.setStdDeviation(NaN, 1) threw exception TypeError: Failed to execute 'setStdDeviation' on 'SVGFEDropShadowElement': The provided float value is non-finite..
+PASS dropShadow.setStdDeviation(Infinity, 1) threw exception TypeError: Failed to execute 'setStdDeviation' on 'SVGFEDropShadowElement': The provided float value is non-finite..
+PASS dropShadow.setStdDeviation(1, NaN) threw exception TypeError: Failed to execute 'setStdDeviation' on 'SVGFEDropShadowElement': The provided float value is non-finite..
+PASS dropShadow.setStdDeviation(1, Infinity) threw exception TypeError: Failed to execute 'setStdDeviation' on 'SVGFEDropShadowElement': The provided float value is non-finite..
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 gaussian.setStdDeviation(NaN, 1) threw exception TypeError: Failed to execute 'setStdDeviation' on 'SVGFEGaussianBlurElement': The provided float value is non-finite..
+PASS gaussian.setStdDeviation(Infinity, 1) threw exception TypeError: Failed to execute 'setStdDeviation' on 'SVGFEGaussianBlurElement': The provided float value is non-finite..
+PASS gaussian.setStdDeviation(1, NaN) threw exception TypeError: Failed to execute 'setStdDeviation' on 'SVGFEGaussianBlurElement': The provided float value is non-finite..
+PASS gaussian.setStdDeviation(1, Infinity) threw exception TypeError: Failed to execute 'setStdDeviation' on 'SVGFEGaussianBlurElement': The provided float value is non-finite..
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