| OLD | NEW |
| 1 ABC | 1 ABC |
| 2 This is a test of the simple SVGLengthList API parts. | 2 This is a test of the simple SVGLengthList API parts. |
| 3 | 3 |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 5 | 5 |
| 6 | 6 |
| 7 PASS text1.x.baseVal != text1.x.animVal is true | 7 PASS text1.x.baseVal != text1.x.animVal is true |
| 8 PASS text1.x.baseVal.numberOfItems is 3 | 8 PASS text1.x.baseVal.numberOfItems is 3 |
| 9 PASS text1.x.animVal.numberOfItems is 3 | 9 PASS text1.x.animVal.numberOfItems is 3 |
| 10 PASS text1.x.baseVal.getItem(0).value is 500 | 10 PASS text1.x.baseVal.getItem(0).value is 500 |
| 11 PASS text1.x.baseVal.getItem(1).value is 1000 | 11 PASS text1.x.baseVal.getItem(1).value is 1000 |
| 12 PASS text1.x.baseVal.getItem(2).value is 1500 | 12 PASS text1.x.baseVal.getItem(2).value is 1500 |
| 13 | 13 |
| 14 Test uncommon arguments for initialize() | 14 Test uncommon arguments for initialize() |
| 15 PASS text1.x.baseVal.initialize(30) threw exception TypeError: Type error. | 15 PASS text1.x.baseVal.initialize(30) threw exception TypeError: Type error. |
| 16 PASS text1.x.baseVal.initialize('aString') threw exception TypeError: Type error
. | 16 PASS text1.x.baseVal.initialize('aString') threw exception TypeError: Type error
. |
| 17 PASS text1.x.baseVal.initialize(text1) threw exception TypeError: Type error. | 17 PASS text1.x.baseVal.initialize(text1) threw exception TypeError: Type error. |
| 18 PASS text1.x.baseVal.initialize(null) threw exception TypeError: Type error. | 18 PASS text1.x.baseVal.initialize(null) threw exception TypeError: Type error. |
| 19 | 19 |
| 20 Test uncommon arguments for getItem() | 20 Test uncommon arguments for getItem() |
| 21 PASS text1.x.baseVal.getItem(30) threw exception IndexSizeError: Index or size w
as negative, or greater than the allowed value.. | 21 PASS text1.x.baseVal.getItem(30) threw exception IndexSizeError: Index or size w
as negative, or greater than the allowed value.. |
| 22 PASS text1.x.baseVal.getItem('aString') is text1.x.baseVal.getItem(0) | 22 PASS text1.x.baseVal.getItem('aString') is text1.x.baseVal.getItem(0) |
| 23 PASS text1.x.baseVal.getItem(text1) is text1.x.baseVal.getItem(0) | 23 PASS text1.x.baseVal.getItem(text1) is text1.x.baseVal.getItem(0) |
| 24 PASS text1.x.baseVal.getItem(null) is text1.x.baseVal.getItem(0) | 24 PASS text1.x.baseVal.getItem(null) is text1.x.baseVal.getItem(0) |
| 25 | 25 |
| 26 Test uncommon arguments for insertItemBefore() | 26 Test uncommon arguments for insertItemBefore() |
| 27 PASS text1.x.baseVal.insertItemBefore(30) threw exception TypeError: Not enough
arguments. | 27 PASS text1.x.baseVal.insertItemBefore(30) threw exception TypeError: Failed to e
xecute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only 1 p
resent.. |
| 28 PASS text1.x.baseVal.insertItemBefore('aString') threw exception TypeError: Not
enough arguments. | 28 PASS text1.x.baseVal.insertItemBefore('aString') threw exception TypeError: Fail
ed to execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but o
nly 1 present.. |
| 29 PASS text1.x.baseVal.insertItemBefore(text1) threw exception TypeError: Not enou
gh arguments. | 29 PASS text1.x.baseVal.insertItemBefore(text1) threw exception TypeError: Failed t
o execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only
1 present.. |
| 30 PASS text1.x.baseVal.insertItemBefore(null) threw exception TypeError: Not enoug
h arguments. | 30 PASS text1.x.baseVal.insertItemBefore(null) threw exception TypeError: Failed to
execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only 1
present.. |
| 31 PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), 'aString') is
text1.x.baseVal.getItem(0) | 31 PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), 'aString') is
text1.x.baseVal.getItem(0) |
| 32 PASS text1.x.baseVal.numberOfItems is 3 | 32 PASS text1.x.baseVal.numberOfItems is 3 |
| 33 PASS text1.x.baseVal.getItem(0).value is 1000 | 33 PASS text1.x.baseVal.getItem(0).value is 1000 |
| 34 PASS text1.x.baseVal.getItem(1).value is 500 | 34 PASS text1.x.baseVal.getItem(1).value is 500 |
| 35 PASS text1.x.baseVal.getItem(2).value is 1500 | 35 PASS text1.x.baseVal.getItem(2).value is 1500 |
| 36 PASS text1.getAttribute('x') is "1000 500 1500" | 36 PASS text1.getAttribute('x') is "1000 500 1500" |
| 37 PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), text1) is text
1.x.baseVal.getItem(0) | 37 PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), text1) is text
1.x.baseVal.getItem(0) |
| 38 PASS text1.x.baseVal.numberOfItems is 3 | 38 PASS text1.x.baseVal.numberOfItems is 3 |
| 39 PASS text1.x.baseVal.getItem(0).value is 500 | 39 PASS text1.x.baseVal.getItem(0).value is 500 |
| 40 PASS text1.x.baseVal.getItem(1).value is 1000 | 40 PASS text1.x.baseVal.getItem(1).value is 1000 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 71 Set x='1 2 3 4' for text1 | 71 Set x='1 2 3 4' for text1 |
| 72 PASS text1.setAttribute('x', '1 2 3 4') is undefined. | 72 PASS text1.setAttribute('x', '1 2 3 4') is undefined. |
| 73 PASS text1.x.baseVal.numberOfItems is 4 | 73 PASS text1.x.baseVal.numberOfItems is 4 |
| 74 PASS text1.x.baseVal.getItem(0).value is 1 | 74 PASS text1.x.baseVal.getItem(0).value is 1 |
| 75 PASS text1.x.baseVal.getItem(1).value is 2 | 75 PASS text1.x.baseVal.getItem(1).value is 2 |
| 76 PASS text1.x.baseVal.getItem(2).value is 3 | 76 PASS text1.x.baseVal.getItem(2).value is 3 |
| 77 PASS text1.x.baseVal.getItem(3).value is 4 | 77 PASS text1.x.baseVal.getItem(3).value is 4 |
| 78 PASS text1.getAttribute('x') is "1 2 3 4" | 78 PASS text1.getAttribute('x') is "1 2 3 4" |
| 79 | 79 |
| 80 Test uncommon arguments for replaceItem() | 80 Test uncommon arguments for replaceItem() |
| 81 PASS text1.x.baseVal.replaceItem(30) threw exception TypeError: Not enough argum
ents. | 81 PASS text1.x.baseVal.replaceItem(30) threw exception TypeError: Failed to execut
e 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present.. |
| 82 PASS text1.x.baseVal.replaceItem('aString') threw exception TypeError: Not enoug
h arguments. | 82 PASS text1.x.baseVal.replaceItem('aString') threw exception TypeError: Failed to
execute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 pres
ent.. |
| 83 PASS text1.x.baseVal.replaceItem(text1) threw exception TypeError: Not enough ar
guments. | 83 PASS text1.x.baseVal.replaceItem(text1) threw exception TypeError: Failed to exe
cute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present.
. |
| 84 PASS text1.x.baseVal.replaceItem(null) threw exception TypeError: Not enough arg
uments. | 84 PASS text1.x.baseVal.replaceItem(null) threw exception TypeError: Failed to exec
ute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present.. |
| 85 PASS text1.x.baseVal.replaceItem(30, 0) threw exception TypeError: Type error. | 85 PASS text1.x.baseVal.replaceItem(30, 0) threw exception TypeError: Type error. |
| 86 PASS text1.x.baseVal.replaceItem('aString', 0) threw exception TypeError: Type e
rror. | 86 PASS text1.x.baseVal.replaceItem('aString', 0) threw exception TypeError: Type e
rror. |
| 87 PASS text1.x.baseVal.replaceItem(text1, 0) threw exception TypeError: Type error
. | 87 PASS text1.x.baseVal.replaceItem(text1, 0) threw exception TypeError: Type error
. |
| 88 PASS text1.x.baseVal.replaceItem(null, 0) threw exception TypeError: Type error. | 88 PASS text1.x.baseVal.replaceItem(null, 0) threw exception TypeError: Type error. |
| 89 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 0) is text1.x.baseV
al.getItem(0) | 89 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 0) is text1.x.baseV
al.getItem(0) |
| 90 PASS text1.x.baseVal.numberOfItems is 4 | 90 PASS text1.x.baseVal.numberOfItems is 4 |
| 91 PASS text1.x.baseVal.getItem(0).value is 1 | 91 PASS text1.x.baseVal.getItem(0).value is 1 |
| 92 PASS text1.x.baseVal.getItem(1).value is 2 | 92 PASS text1.x.baseVal.getItem(1).value is 2 |
| 93 PASS text1.x.baseVal.getItem(2).value is 3 | 93 PASS text1.x.baseVal.getItem(2).value is 3 |
| 94 PASS text1.x.baseVal.getItem(3).value is 4 | 94 PASS text1.x.baseVal.getItem(3).value is 4 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 PASS text1.x.baseVal.appendItem(text1) threw exception TypeError: Type error. | 139 PASS text1.x.baseVal.appendItem(text1) threw exception TypeError: Type error. |
| 140 PASS text1.x.baseVal.appendItem(null) threw exception TypeError: Type error. | 140 PASS text1.x.baseVal.appendItem(null) threw exception TypeError: Type error. |
| 141 | 141 |
| 142 Testing animVal clear throws | 142 Testing animVal clear throws |
| 143 PASS text1.x.animVal.clear() threw exception NoModificationAllowedError: An atte
mpt was made to modify an object where modifications are not allowed.. | 143 PASS text1.x.animVal.clear() threw exception NoModificationAllowedError: An atte
mpt was made to modify an object where modifications are not allowed.. |
| 144 PASS text1.x.baseVal.clear() is undefined. | 144 PASS text1.x.baseVal.clear() is undefined. |
| 145 PASS successfullyParsed is true | 145 PASS successfullyParsed is true |
| 146 | 146 |
| 147 TEST COMPLETE | 147 TEST COMPLETE |
| 148 | 148 |
| OLD | NEW |