| Index: LayoutTests/svg/dom/SVGLengthList-initialize-expected.txt
|
| diff --git a/LayoutTests/svg/dom/SVGLengthList-initialize-expected.txt b/LayoutTests/svg/dom/SVGLengthList-initialize-expected.txt
|
| index 27ed343e8ff597ce3e6ce800c7bfa1fa5299eca0..4ed36d103b83b7e566492faf2e6d7ca9b0e20fe4 100644
|
| --- a/LayoutTests/svg/dom/SVGLengthList-initialize-expected.txt
|
| +++ b/LayoutTests/svg/dom/SVGLengthList-initialize-expected.txt
|
| @@ -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 Error: IndexSizeError: DOM Exception 1.
|
| +PASS text1.x.baseVal.getItem(3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
|
|
| 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 Error: IndexSizeError: DOM Exception 1.
|
| +PASS text2.x.baseVal.getItem(2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
|
|
| 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 Error: IndexSizeError: DOM Exception 1.
|
| +PASS text3.x.baseVal.getItem(3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
|
|
| 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 Error: IndexSizeError: DOM Exception 1.
|
| +PASS text4.x.baseVal.getItem(1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
|
|
| 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 Error: IndexSizeError: DOM Exception 1.
|
| +PASS text2.x.baseVal.getItem(1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
|
|
| 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 Error: IndexSizeError: DOM Exception 1.
|
| +PASS text3.x.baseVal.getItem(0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
|
|
| 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 Error: IndexSizeError: DOM Exception 1.
|
| -PASS text2.x.baseVal.getItem(1) threw exception Error: IndexSizeError: DOM Exception 1.
|
| -PASS text3.x.baseVal.getItem(1) threw exception Error: IndexSizeError: DOM Exception 1.
|
| -PASS text4.x.baseVal.getItem(1) threw exception Error: IndexSizeError: DOM Exception 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..
|
|
|
| The test passes if you only see 'PASS' messages, and all five text elements on top look the same
|
|
|
|
|