| OLD | NEW |
| 1 ABC | 1 ABC |
| 2 This is a test of the simple SVGStringList API parts. | 2 This is a test of the simple SVGStringList 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.requiredFeatures.numberOfItems is 3 | 7 PASS text1.requiredFeatures.numberOfItems is 3 |
| 8 | 8 |
| 9 Test uncommon arguments for initialize() | 9 Test uncommon arguments for initialize() |
| 10 PASS text1.requiredFeatures.initialize('30') is "30" | 10 PASS text1.requiredFeatures.initialize('30') is "30" |
| 11 PASS text1.requiredFeatures.numberOfItems is 1 | 11 PASS text1.requiredFeatures.numberOfItems is 1 |
| 12 PASS text1.requiredFeatures.getItem(0) is "30" | 12 PASS text1.requiredFeatures.getItem(0) is "30" |
| 13 PASS text1.getAttribute('requiredFeatures') is "30" | 13 PASS text1.getAttribute('requiredFeatures') is "30" |
| 14 PASS text1.requiredFeatures.initialize(text1) is "[object SVGTextElement]" | 14 PASS text1.requiredFeatures.initialize(text1) is "[object SVGTextElement]" |
| 15 PASS text1.requiredFeatures.numberOfItems is 1 | 15 PASS text1.requiredFeatures.numberOfItems is 1 |
| 16 PASS text1.requiredFeatures.getItem(0) is "[object SVGTextElement]" | 16 PASS text1.requiredFeatures.getItem(0) is "[object SVGTextElement]" |
| 17 PASS text1.getAttribute('requiredFeatures') is "[object SVGTextElement]" | 17 PASS text1.getAttribute('requiredFeatures') is "[object SVGTextElement]" |
| 18 PASS text1.requiredFeatures.initialize(0) is "0" | 18 PASS text1.requiredFeatures.initialize(0) is "0" |
| 19 PASS text1.requiredFeatures.numberOfItems is 1 | 19 PASS text1.requiredFeatures.numberOfItems is 1 |
| 20 PASS text1.requiredFeatures.getItem(0) is "0" | 20 PASS text1.requiredFeatures.getItem(0) is "0" |
| 21 PASS text1.getAttribute('requiredFeatures') is "0" | 21 PASS text1.getAttribute('requiredFeatures') is "0" |
| 22 PASS text1.requiredFeatures.initialize('aString') is "aString" | 22 PASS text1.requiredFeatures.initialize('aString') is "aString" |
| 23 PASS text1.requiredFeatures.numberOfItems is 1 | 23 PASS text1.requiredFeatures.numberOfItems is 1 |
| 24 PASS text1.requiredFeatures.getItem(0) is "aString" | 24 PASS text1.requiredFeatures.getItem(0) is "aString" |
| 25 PASS text1.getAttribute('requiredFeatures') is "aString" | 25 PASS text1.getAttribute('requiredFeatures') is "aString" |
| 26 | 26 |
| 27 Test uncommon arguments for getItem() | 27 Test uncommon arguments for getItem() |
| 28 PASS text1.requiredFeatures.getItem(30) threw exception Error: IndexSizeError: D
OM Exception 1. | 28 PASS text1.requiredFeatures.getItem(30) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. |
| 29 PASS text1.requiredFeatures.getItem('aString') is text1.requiredFeatures.getItem
(0) | 29 PASS text1.requiredFeatures.getItem('aString') is text1.requiredFeatures.getItem
(0) |
| 30 PASS text1.requiredFeatures.getItem(text1) is text1.requiredFeatures.getItem(0) | 30 PASS text1.requiredFeatures.getItem(text1) is text1.requiredFeatures.getItem(0) |
| 31 PASS text1.requiredFeatures.getItem(null) is text1.requiredFeatures.getItem(0) | 31 PASS text1.requiredFeatures.getItem(null) is text1.requiredFeatures.getItem(0) |
| 32 | 32 |
| 33 Test uncommon arguments for insertItemBefore() | 33 Test uncommon arguments for insertItemBefore() |
| 34 PASS text1.requiredFeatures.insertItemBefore(30) threw exception TypeError: Not
enough arguments. | 34 PASS text1.requiredFeatures.insertItemBefore(30) threw exception TypeError: Not
enough arguments. |
| 35 PASS text1.requiredFeatures.insertItemBefore('aString') threw exception TypeErro
r: Not enough arguments. | 35 PASS text1.requiredFeatures.insertItemBefore('aString') threw exception TypeErro
r: Not enough arguments. |
| 36 PASS text1.requiredFeatures.insertItemBefore(text1) threw exception TypeError: N
ot enough arguments. | 36 PASS text1.requiredFeatures.insertItemBefore(text1) threw exception TypeError: N
ot enough arguments. |
| 37 PASS text1.requiredFeatures.insertItemBefore(null) threw exception TypeError: No
t enough arguments. | 37 PASS text1.requiredFeatures.insertItemBefore(null) threw exception TypeError: No
t enough arguments. |
| 38 PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1),
'aString') threw exception Error: IndexSizeError: DOM Exception 1. | 38 PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1),
'aString') threw exception IndexSizeError: Index or size was negative, or greate
r than the allowed value.. |
| 39 PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1),
text1) threw exception Error: IndexSizeError: DOM Exception 1. | 39 PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1),
text1) threw exception IndexSizeError: Index or size was negative, or greater th
an the allowed value.. |
| 40 PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1),
null) threw exception Error: IndexSizeError: DOM Exception 1. | 40 PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1),
null) threw exception IndexSizeError: Index or size was negative, or greater tha
n the allowed value.. |
| 41 PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1),
0) threw exception Error: IndexSizeError: DOM Exception 1. | 41 PASS text1.requiredFeatures.insertItemBefore(text1.requiredFeatures.getItem(1),
0) threw exception IndexSizeError: Index or size was negative, or greater than t
he allowed value.. |
| 42 PASS text1.requiredFeatures.insertItemBefore(30, 0) is "30" | 42 PASS text1.requiredFeatures.insertItemBefore(30, 0) is "30" |
| 43 PASS text1.requiredFeatures.numberOfItems is 2 | 43 PASS text1.requiredFeatures.numberOfItems is 2 |
| 44 PASS text1.requiredFeatures.getItem(0) is "30" | 44 PASS text1.requiredFeatures.getItem(0) is "30" |
| 45 PASS text1.requiredFeatures.getItem(1) is "aString" | 45 PASS text1.requiredFeatures.getItem(1) is "aString" |
| 46 PASS text1.getAttribute('requiredFeatures') is "30 aString" | 46 PASS text1.getAttribute('requiredFeatures') is "30 aString" |
| 47 PASS text1.requiredFeatures.insertItemBefore('aString', 0) is "aString" | 47 PASS text1.requiredFeatures.insertItemBefore('aString', 0) is "aString" |
| 48 PASS text1.requiredFeatures.numberOfItems is 3 | 48 PASS text1.requiredFeatures.numberOfItems is 3 |
| 49 PASS text1.requiredFeatures.getItem(0) is "aString" | 49 PASS text1.requiredFeatures.getItem(0) is "aString" |
| 50 PASS text1.requiredFeatures.getItem(1) is "30" | 50 PASS text1.requiredFeatures.getItem(1) is "30" |
| 51 PASS text1.requiredFeatures.getItem(2) is "aString" | 51 PASS text1.requiredFeatures.getItem(2) is "aString" |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 PASS text1.getAttribute('requiredFeatures') is "1 2 3 4" | 141 PASS text1.getAttribute('requiredFeatures') is "1 2 3 4" |
| 142 PASS text1.requiredFeatures.replaceItem(text1.requiredFeatures.getItem(0), null)
is "1" | 142 PASS text1.requiredFeatures.replaceItem(text1.requiredFeatures.getItem(0), null)
is "1" |
| 143 PASS text1.requiredFeatures.numberOfItems is 4 | 143 PASS text1.requiredFeatures.numberOfItems is 4 |
| 144 PASS text1.requiredFeatures.getItem(0) is "1" | 144 PASS text1.requiredFeatures.getItem(0) is "1" |
| 145 PASS text1.requiredFeatures.getItem(1) is "2" | 145 PASS text1.requiredFeatures.getItem(1) is "2" |
| 146 PASS text1.requiredFeatures.getItem(2) is "3" | 146 PASS text1.requiredFeatures.getItem(2) is "3" |
| 147 PASS text1.requiredFeatures.getItem(3) is "4" | 147 PASS text1.requiredFeatures.getItem(3) is "4" |
| 148 PASS text1.getAttribute('requiredFeatures') is "1 2 3 4" | 148 PASS text1.getAttribute('requiredFeatures') is "1 2 3 4" |
| 149 | 149 |
| 150 Test uncommon arguments for removeItem() | 150 Test uncommon arguments for removeItem() |
| 151 PASS text1.requiredFeatures.removeItem(30) threw exception Error: IndexSizeError
: DOM Exception 1. | 151 PASS text1.requiredFeatures.removeItem(30) threw exception IndexSizeError: Index
or size was negative, or greater than the allowed value.. |
| 152 PASS text1.requiredFeatures.removeItem('aString') is "1" | 152 PASS text1.requiredFeatures.removeItem('aString') is "1" |
| 153 PASS text1.requiredFeatures.numberOfItems is 3 | 153 PASS text1.requiredFeatures.numberOfItems is 3 |
| 154 PASS text1.getAttribute('requiredFeatures') is "2 3 4" | 154 PASS text1.getAttribute('requiredFeatures') is "2 3 4" |
| 155 PASS text1.requiredFeatures.removeItem(text1) is "2" | 155 PASS text1.requiredFeatures.removeItem(text1) is "2" |
| 156 PASS text1.requiredFeatures.numberOfItems is 2 | 156 PASS text1.requiredFeatures.numberOfItems is 2 |
| 157 PASS text1.requiredFeatures.getItem(0) is "3" | 157 PASS text1.requiredFeatures.getItem(0) is "3" |
| 158 PASS text1.requiredFeatures.getItem(1) is "4" | 158 PASS text1.requiredFeatures.getItem(1) is "4" |
| 159 PASS text1.getAttribute('requiredFeatures') is "3 4" | 159 PASS text1.getAttribute('requiredFeatures') is "3 4" |
| 160 PASS text1.requiredFeatures.removeItem(null) is "3" | 160 PASS text1.requiredFeatures.removeItem(null) is "3" |
| 161 PASS text1.requiredFeatures.numberOfItems is 1 | 161 PASS text1.requiredFeatures.numberOfItems is 1 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 189 PASS text1.requiredFeatures.getItem(3) is "[object SVGTextElement]" | 189 PASS text1.requiredFeatures.getItem(3) is "[object SVGTextElement]" |
| 190 PASS text1.requiredFeatures.getItem(4) is "null" | 190 PASS text1.requiredFeatures.getItem(4) is "null" |
| 191 PASS text1.getAttribute('requiredFeatures') is "4 30 aString [object SVGTextElem
ent] null" | 191 PASS text1.getAttribute('requiredFeatures') is "4 30 aString [object SVGTextElem
ent] null" |
| 192 | 192 |
| 193 clear() requiredFeatures list so text on top shows up | 193 clear() requiredFeatures list so text on top shows up |
| 194 PASS text1.requiredFeatures.clear() is undefined. | 194 PASS text1.requiredFeatures.clear() is undefined. |
| 195 PASS successfullyParsed is true | 195 PASS successfullyParsed is true |
| 196 | 196 |
| 197 TEST COMPLETE | 197 TEST COMPLETE |
| 198 | 198 |
| OLD | NEW |