Index: LayoutTests/svg/dom/SVGLengthList-basics.xhtml |
diff --git a/LayoutTests/svg/dom/SVGLengthList-basics.xhtml b/LayoutTests/svg/dom/SVGLengthList-basics.xhtml |
index af37feb4df7099d2ff6e3cd68d702b5e69399694..fb55181205f225edd3ebe53b15af643d029065f1 100644 |
--- a/LayoutTests/svg/dom/SVGLengthList-basics.xhtml |
+++ b/LayoutTests/svg/dom/SVGLengthList-basics.xhtml |
@@ -116,6 +116,13 @@ |
shouldThrow("text1.x.baseVal.replaceItem(text1, 0)"); |
shouldThrow("text1.x.baseVal.replaceItem(null, 0)"); |
+ debug(""); |
+ debug("Test uncommon values for indexed setter"); |
+ shouldThrow("text1.x.baseVal[0] = 30"); |
+ shouldThrow("text1.x.baseVal[0] = 'aString'"); |
+ shouldThrow("text1.x.baseVal[0] = text1"); |
+ shouldThrow("text1.x.baseVal[0] = null"); |
+ |
shouldBe("text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 0)", "text1.x.baseVal.getItem(0)"); |
shouldBe("text1.x.baseVal.numberOfItems", "4"); |
shouldBe("text1.x.baseVal.getItem(0).value", "1"); |