Index: LayoutTests/svg/dom/SVGTransformList-basics.xhtml |
diff --git a/LayoutTests/svg/dom/SVGTransformList-basics.xhtml b/LayoutTests/svg/dom/SVGTransformList-basics.xhtml |
index 56f9b7214c7408a32bb551db28a2e8d6ef2636c2..87457edaeb1396c8754b3fb7fc090d082c74b275 100644 |
--- a/LayoutTests/svg/dom/SVGTransformList-basics.xhtml |
+++ b/LayoutTests/svg/dom/SVGTransformList-basics.xhtml |
@@ -123,6 +123,13 @@ |
shouldThrow("circle1.transform.baseVal.replaceItem(circle1, 0)"); |
shouldThrow("circle1.transform.baseVal.replaceItem(null, 0)"); |
+ debug(""); |
+ debug("Test uncommon values for indexed setter"); |
+ shouldThrow("circle1.transform.baseVal[0] = 30"); |
+ shouldThrow("circle1.transform.baseVal[0] = 'aString'"); |
+ shouldThrow("circle1.transform.baseVal[0] = circle1"); |
+ shouldThrow("circle1.transform.baseVal[0] = null"); |
+ |
shouldBe("circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0), 0)", "circle1.transform.baseVal.getItem(0)"); |
shouldBe("circle1.transform.baseVal.numberOfItems", "4"); |
shouldBeEqualToString("dumpTransform(circle1.transform.baseVal.getItem(0))", "type=SVG_TRANSFORM_ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]"); |