Index: LayoutTests/svg/dom/SVGPointList-basics-expected.txt |
diff --git a/LayoutTests/svg/dom/SVGPointList-basics-expected.txt b/LayoutTests/svg/dom/SVGPointList-basics-expected.txt |
index 584a841419424d084fda2443bb113b8919790b80..8e6f496ac27beb247bc0528ccf0b875b0d11c1c1 100644 |
--- a/LayoutTests/svg/dom/SVGPointList-basics-expected.txt |
+++ b/LayoutTests/svg/dom/SVGPointList-basics-expected.txt |
@@ -34,7 +34,7 @@ PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" |
PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100 0 100" |
Test uncommon arguments for getItem() |
-PASS poly1.points.getItem(30) threw exception Error: IndexSizeError: DOM Exception 1. |
+PASS poly1.points.getItem(30) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. |
PASS poly1.points.getItem('aString') is poly1.points.getItem(0) |
PASS poly1.points.getItem(poly1) is poly1.points.getItem(0) |
PASS poly1.points.getItem(null) is poly1.points.getItem(0) |
@@ -74,13 +74,13 @@ PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100 |
PASS poly1.points.insertItemBefore(30, 0) threw exception TypeError: Type error. |
PASS poly1.points.insertItemBefore('aString', 0) threw exception TypeError: Type error. |
PASS poly1.points.insertItemBefore(poly1, 0) threw exception TypeError: Type error. |
-PASS poly1.points.insertItemBefore(null, 0) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0. |
+PASS poly1.points.insertItemBefore(null, 0) threw exception SVG_WRONG_TYPE_ERR: An object of the wrong type was passed to an operation.. |
Test uncommon arguments for replaceItem() |
PASS poly1.points.replaceItem(30) threw exception TypeError: Not enough arguments. |
PASS poly1.points.replaceItem('aString') threw exception TypeError: Not enough arguments. |
PASS poly1.points.replaceItem(poly1) threw exception TypeError: Not enough arguments. |
-PASS poly1.points.replaceItem(null, 0) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0. |
+PASS poly1.points.replaceItem(null, 0) threw exception SVG_WRONG_TYPE_ERR: An object of the wrong type was passed to an operation.. |
PASS poly1.points.replaceItem('aString', 0) threw exception TypeError: Type error. |
PASS poly1.points.replaceItem(poly1, 0) threw exception TypeError: Type error. |
PASS poly1.points.replaceItem(1, 0) threw exception TypeError: Type error. |
@@ -121,7 +121,7 @@ Reset points attribute to 0 0 100 0 100 100 0 100 |
PASS poly1.setAttribute('points', '0 0 100 0 100 100 0 100') is undefined. |
Test uncommon arguments for removeItem() |
-PASS poly1.points.removeItem(30) threw exception Error: IndexSizeError: DOM Exception 1. |
+PASS poly1.points.removeItem(30) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. |
PASS dumpPoint(poly1.points.removeItem('aString')) is "x=0 y=0" |
PASS poly1.points.numberOfItems is 3 |
PASS dumpPoint(poly1.points.getItem(0)) is "x=100 y=0" |
@@ -142,7 +142,7 @@ Test uncommon arguments for appendItem() |
PASS poly1.points.appendItem(30) threw exception TypeError: Type error. |
PASS poly1.points.appendItem('aString') threw exception TypeError: Type error. |
PASS poly1.points.appendItem(poly1) threw exception TypeError: Type error. |
-PASS poly1.points.appendItem(null) threw exception Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0. |
+PASS poly1.points.appendItem(null) threw exception SVG_WRONG_TYPE_ERR: An object of the wrong type was passed to an operation.. |
PASS dumpPoint(poly1.points.appendItem(point)) is "x=200 y=100" |
PASS poly1.points.numberOfItems is 2 |
PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=100" |