Index: LayoutTests/svg/dom/SVGAngle-expected.txt |
diff --git a/LayoutTests/svg/dom/SVGAngle-expected.txt b/LayoutTests/svg/dom/SVGAngle-expected.txt |
index 5734d0e327ac03efc6b684a1080cccbb25b1f6cb..5e6fce2be5ec60a58393fa8d5c50eaacbd795fda 100644 |
--- a/LayoutTests/svg/dom/SVGAngle-expected.txt |
+++ b/LayoutTests/svg/dom/SVGAngle-expected.txt |
@@ -47,20 +47,24 @@ PASS angle.newValueSpecifiedUnits(SVGAngle.SVG_ANGLETYPE_UNKNOWN, 50) threw exce |
PASS angle.newValueSpecifiedUnits(-1, 50) threw exception NotSupportedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': Cannot set value with unknown or invalid units (65535).. |
PASS angle.newValueSpecifiedUnits(5, 50) threw exception NotSupportedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': Cannot set value with unknown or invalid units (5).. |
PASS angle.newValueSpecifiedUnits(SVGAngle.SVG_ANGLETYPE_DEG) threw exception TypeError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': 2 arguments required, but only 1 present.. |
-PASS angle.newValueSpecifiedUnits(SVGAngle.SVG_ANGLETYPE_DEG, 'aString') is undefined. |
-PASS angle.value is NaN |
+PASS angle.newValueSpecifiedUnits(SVGAngle.SVG_ANGLETYPE_DEG, 'aString') threw exception TypeError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.value is 0 |
PASS angle.newValueSpecifiedUnits(SVGAngle.SVG_ANGLETYPE_DEG, 0) is undefined. |
-PASS angle.newValueSpecifiedUnits(SVGAngle.SVG_ANGLETYPE_DEG, angle) is undefined. |
-PASS angle.value is NaN |
-PASS angle.newValueSpecifiedUnits(SVGAngle.SVG_ANGLETYPE_DEG, svgElement) is undefined. |
-PASS angle.value is NaN |
+PASS angle.newValueSpecifiedUnits(SVGAngle.SVG_ANGLETYPE_DEG, angle) threw exception TypeError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.value is 0 |
+PASS angle.newValueSpecifiedUnits(SVGAngle.SVG_ANGLETYPE_DEG, svgElement) threw exception TypeError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.value is 0 |
+PASS angle.newValueSpecifiedUnits(SVGAngle.SVG_ANGLETYPE_DEG, NaN) threw exception TypeError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.value is 0 |
+PASS angle.newValueSpecifiedUnits(SVGAngle.SVG_ANGLETYPE_DEG, Infinity) threw exception TypeError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.value is 0 |
PASS angle.newValueSpecifiedUnits(SVGAngle.SVG_ANGLETYPE_DEG) threw exception TypeError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': 2 arguments required, but only 1 present.. |
PASS angle.newValueSpecifiedUnits('aString', 4) threw exception NotSupportedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': Cannot set value with unknown or invalid units (0).. |
PASS angle.newValueSpecifiedUnits(angle, 4) threw exception NotSupportedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': Cannot set value with unknown or invalid units (0).. |
PASS angle.newValueSpecifiedUnits(svgElement, 4) threw exception NotSupportedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': Cannot set value with unknown or invalid units (0).. |
-PASS angle.newValueSpecifiedUnits('aString', 'aString') threw exception NotSupportedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': Cannot set value with unknown or invalid units (0).. |
-PASS angle.newValueSpecifiedUnits(angle, angle) threw exception NotSupportedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': Cannot set value with unknown or invalid units (0).. |
-PASS angle.newValueSpecifiedUnits(svgElement, svgElement) threw exception NotSupportedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': Cannot set value with unknown or invalid units (0).. |
+PASS angle.newValueSpecifiedUnits('aString', 'aString') threw exception TypeError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.newValueSpecifiedUnits(angle, angle) threw exception TypeError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.newValueSpecifiedUnits(svgElement, svgElement) threw exception TypeError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': The provided float value is non-finite.. |
PASS angle.newValueSpecifiedUnits() threw exception TypeError: Failed to execute 'newValueSpecifiedUnits' on 'SVGAngle': 2 arguments required, but only 0 present.. |
PASS angle.unitType is SVGAngle.SVG_ANGLETYPE_DEG |
@@ -118,26 +122,34 @@ PASS angle.valueInSpecifiedUnits is 0 |
PASS angle.unitType is SVGAngle.SVG_ANGLETYPE_UNSPECIFIED |
Check setting invalid 'valueInSpecifiedUnits' arguments |
-PASS angle.valueInSpecifiedUnits = 'test' is 'test' |
-PASS angle.value is NaN |
-PASS angle.valueInSpecifiedUnits is NaN |
+PASS angle.valueInSpecifiedUnits = 'test' threw exception TypeError: Failed to set the 'valueInSpecifiedUnits' property on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.value is 0 |
+PASS angle.valueInSpecifiedUnits is 0 |
PASS angle.unitType is SVGAngle.SVG_ANGLETYPE_UNSPECIFIED |
PASS angle.valueInSpecifiedUnits = 0 is 0 |
-PASS angle.valueInSpecifiedUnits = angle is angle |
-PASS angle.value is NaN |
-PASS angle.valueInSpecifiedUnits is NaN |
+PASS angle.valueInSpecifiedUnits = angle threw exception TypeError: Failed to set the 'valueInSpecifiedUnits' property on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.value is 0 |
+PASS angle.valueInSpecifiedUnits = NaN threw exception TypeError: Failed to set the 'valueInSpecifiedUnits' property on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.value is 0 |
+PASS angle.valueInSpecifiedUnits = Infinity threw exception TypeError: Failed to set the 'valueInSpecifiedUnits' property on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.value is 0 |
+PASS angle.valueInSpecifiedUnits is 0 |
PASS angle.unitType is SVGAngle.SVG_ANGLETYPE_UNSPECIFIED |
Check setting invalid 'value' arguments |
PASS angle.value = 0 is 0 |
-PASS angle.value = 'test' is 'test' |
-PASS angle.value is NaN |
-PASS angle.valueInSpecifiedUnits is NaN |
+PASS angle.value = 'test' threw exception TypeError: Failed to set the 'value' property on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.value is 0 |
+PASS angle.valueInSpecifiedUnits is 0 |
PASS angle.unitType is SVGAngle.SVG_ANGLETYPE_UNSPECIFIED |
PASS angle.value = 0 is 0 |
-PASS angle.value = angle is angle |
-PASS angle.value is NaN |
-PASS angle.valueInSpecifiedUnits is NaN |
+PASS angle.value = angle threw exception TypeError: Failed to set the 'value' property on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.value is 0 |
+PASS angle.value = NaN threw exception TypeError: Failed to set the 'value' property on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.value is 0 |
+PASS angle.value = Infinity threw exception TypeError: Failed to set the 'value' property on 'SVGAngle': The provided float value is non-finite.. |
+PASS angle.value is 0 |
+PASS angle.valueInSpecifiedUnits is 0 |
PASS angle.unitType is SVGAngle.SVG_ANGLETYPE_UNSPECIFIED |
Reset to angle in degree units |