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

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

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
Index: LayoutTests/svg/dom/method-argument-typechecks.html
diff --git a/LayoutTests/svg/dom/method-argument-typechecks.html b/LayoutTests/svg/dom/method-argument-typechecks.html
index 0d1c109fc483d66dfc0cb4c1415cd7d3d6ea3c0f..5f893cdf166c4f72eece174e296e3a17bf3c0de3 100644
--- a/LayoutTests/svg/dom/method-argument-typechecks.html
+++ b/LayoutTests/svg/dom/method-argument-typechecks.html
@@ -33,8 +33,10 @@ debug('SVGFEDropShadowElement');
debug('');
debug('setStdDeviation(float stdDeviationX, float stdDeviationY)');
shouldNotThrow('dropShadow.setStdDeviation(0, 0)');
-shouldThrow('dropShadow.setStdDeviation(NaN, NaN)');
-shouldThrow('dropShadow.setStdDeviation(Infinity, Infinity)');
+shouldThrow('dropShadow.setStdDeviation(NaN, 1)');
+shouldThrow('dropShadow.setStdDeviation(Infinity, 1)');
+shouldThrow('dropShadow.setStdDeviation(1, NaN)');
+shouldThrow('dropShadow.setStdDeviation(1, Infinity)');
debug('');
debug('');
@@ -43,7 +45,9 @@ debug('SVGFEGaussianBlurElement');
debug('');
debug('setStdDeviation(float stdDeviationX, float stdDeviationY)');
shouldNotThrow('gaussian.setStdDeviation(0, 0)');
-shouldThrow('gaussian.setStdDeviation(NaN, NaN)');
-shouldThrow('gaussian.setStdDeviation(Infinity, Infinity)');
+shouldThrow('gaussian.setStdDeviation(NaN, 1)');
+shouldThrow('gaussian.setStdDeviation(Infinity, 1)');
+shouldThrow('gaussian.setStdDeviation(1, NaN)');
+shouldThrow('gaussian.setStdDeviation(1, Infinity)');
</script>
« no previous file with comments | « LayoutTests/svg/custom/elementTimeControl-nan-crash.html ('k') | LayoutTests/svg/dom/method-argument-typechecks-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698