Index: LayoutTests/svg/dom/script-tests/SVGAngle.js |
diff --git a/LayoutTests/svg/dom/script-tests/SVGAngle.js b/LayoutTests/svg/dom/script-tests/SVGAngle.js |
index 295f87f51f7965dae440ee6abdcbe002487f5f5e..9d4571c2559af38850fe2409d9a61eed8aa91b21 100644 |
--- a/LayoutTests/svg/dom/script-tests/SVGAngle.js |
+++ b/LayoutTests/svg/dom/script-tests/SVGAngle.js |
@@ -145,6 +145,12 @@ shouldBe("angle.value", "0"); |
shouldBe("angle.valueInSpecifiedUnits", "0"); |
shouldBe("angle.unitType", "SVGAngle.SVG_ANGLETYPE_UNSPECIFIED"); |
+shouldThrow("angle.valueAsString = null"); |
+shouldBeEqualToString("angle.valueAsString", "0"); |
+shouldBe("angle.value", "0"); |
+shouldBe("angle.valueInSpecifiedUnits", "0"); |
+shouldBe("angle.unitType", "SVGAngle.SVG_ANGLETYPE_UNSPECIFIED"); |
+ |
debug(""); |
debug("Check setting invalid 'valueInSpecifiedUnits' arguments"); |
shouldThrow("angle.valueInSpecifiedUnits = 'test'"); |