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> |