Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / dom / SVGLengthList-initialize-expected.txt
index 4ed36d1..4804451 100644 (file)
@@ -13,25 +13,25 @@ PASS text1.x.baseVal.numberOfItems is 3
 PASS text1.x.baseVal.getItem(0).value is 500
 PASS text1.x.baseVal.getItem(1).value is 1000
 PASS text1.x.baseVal.getItem(2).value is 1500
-PASS text1.x.baseVal.getItem(3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS text1.x.baseVal.getItem(3) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (3) is greater than or equal to the maximum bound (3)..
 
 Check initial list state of text2
 PASS text2.x.baseVal.numberOfItems is 2
 PASS text2.x.baseVal.getItem(0).value is 50
 PASS text2.x.baseVal.getItem(1).value is 500
-PASS text2.x.baseVal.getItem(2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS text2.x.baseVal.getItem(2) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (2) is greater than or equal to the maximum bound (2)..
 
 Check initial list state of text3
 PASS text3.x.baseVal.numberOfItems is 3
 PASS text3.x.baseVal.getItem(0).value is 50
 PASS text3.x.baseVal.getItem(1).value is 500
 PASS text3.x.baseVal.getItem(2).value is 50
-PASS text3.x.baseVal.getItem(3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS text3.x.baseVal.getItem(3) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (3) is greater than or equal to the maximum bound (3)..
 
 Check initial list state of text4
 PASS text4.x.baseVal.numberOfItems is 1
 PASS text4.x.baseVal.getItem(0).value is 500
-PASS text4.x.baseVal.getItem(1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS text4.x.baseVal.getItem(1) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (1) is greater than or equal to the maximum bound (1)..
 
 Create a new SVGLength object, that will be the only x coordinate in the first text element.
 PASS newLength.value is 50
@@ -48,7 +48,7 @@ Override the third text elements x list with the item x=50 from the second text
 PASS text3.x.baseVal.initialize(itemInAnotherList) is itemInAnotherList
 PASS text3.x.baseVal.getItem(0).value is 50
 PASS text2.x.baseVal.getItem(0).value is 50
-PASS text2.x.baseVal.getItem(1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS text2.x.baseVal.getItem(1) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (1) is greater than or equal to the maximum bound (1)..
 
 Assure that the 'itemInAnotherList' item is still live anymore, set value to 999 then back to 50
 PASS itemInAnotherList.value = 999; is 999
@@ -61,7 +61,7 @@ PASS text3.x.baseVal.getItem(0).value is 50
 Move item from text3 to text4
 PASS text4.x.baseVal.initialize(text3.x.baseVal.getItem(0)) is itemInAnotherList
 PASS text4.x.baseVal.getItem(0).value is 50
-PASS text3.x.baseVal.getItem(0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS text3.x.baseVal.getItem(0) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (0) is greater than or equal to the maximum bound (0)..
 
 Initialize text3 using setAttribute('x', '50')
 PASS text3.x.baseVal.getItem(0).value is 50
@@ -75,10 +75,10 @@ PASS text1.x.baseVal.numberOfItems is 1
 PASS text2.x.baseVal.numberOfItems is 1
 PASS text3.x.baseVal.numberOfItems is 1
 PASS text4.x.baseVal.numberOfItems is 1
-PASS text1.x.baseVal.getItem(1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
-PASS text2.x.baseVal.getItem(1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
-PASS text3.x.baseVal.getItem(1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
-PASS text4.x.baseVal.getItem(1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
+PASS text1.x.baseVal.getItem(1) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (1) is greater than or equal to the maximum bound (1)..
+PASS text2.x.baseVal.getItem(1) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (1) is greater than or equal to the maximum bound (1)..
+PASS text3.x.baseVal.getItem(1) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (1) is greater than or equal to the maximum bound (1)..
+PASS text4.x.baseVal.getItem(1) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (1) is greater than or equal to the maximum bound (1)..
 
 The test passes if you only see 'PASS' messages, and all five text elements on top look the same