| 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" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 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 IndexSizeError: Index or
size was negative, or greater than the allowed value.. | 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: Fail
ed to execute 'insertItemBefore' on 'SVGStringList': 2 arguments required, but o
nly 1 present.. |
| 35 PASS text1.requiredFeatures.insertItemBefore('aString') threw exception TypeErro
r: Not enough arguments. | 35 PASS text1.requiredFeatures.insertItemBefore('aString') threw exception TypeErro
r: Failed to execute 'insertItemBefore' on 'SVGStringList': 2 arguments required
, but only 1 present.. |
| 36 PASS text1.requiredFeatures.insertItemBefore(text1) threw exception TypeError: N
ot enough arguments. | 36 PASS text1.requiredFeatures.insertItemBefore(text1) threw exception TypeError: F
ailed to execute 'insertItemBefore' on 'SVGStringList': 2 arguments required, bu
t only 1 present.. |
| 37 PASS text1.requiredFeatures.insertItemBefore(null) threw exception TypeError: No
t enough arguments. | 37 PASS text1.requiredFeatures.insertItemBefore(null) threw exception TypeError: Fa
iled to execute 'insertItemBefore' on 'SVGStringList': 2 arguments required, but
only 1 present.. |
| 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.. | 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 IndexSizeError: Index or size was negative, or greater th
an the allowed value.. | 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 IndexSizeError: Index or size was negative, or greater tha
n the allowed value.. | 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 IndexSizeError: Index or size was negative, or greater than t
he allowed value.. | 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" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 69 Set requiredFeatures='1 2 3 4' for text1 | 69 Set requiredFeatures='1 2 3 4' for text1 |
| 70 PASS text1.setAttribute('requiredFeatures', '1 2 3 4') is undefined. | 70 PASS text1.setAttribute('requiredFeatures', '1 2 3 4') is undefined. |
| 71 PASS text1.requiredFeatures.numberOfItems is 4 | 71 PASS text1.requiredFeatures.numberOfItems is 4 |
| 72 PASS text1.requiredFeatures.getItem(0) is "1" | 72 PASS text1.requiredFeatures.getItem(0) is "1" |
| 73 PASS text1.requiredFeatures.getItem(1) is "2" | 73 PASS text1.requiredFeatures.getItem(1) is "2" |
| 74 PASS text1.requiredFeatures.getItem(2) is "3" | 74 PASS text1.requiredFeatures.getItem(2) is "3" |
| 75 PASS text1.requiredFeatures.getItem(3) is "4" | 75 PASS text1.requiredFeatures.getItem(3) is "4" |
| 76 PASS text1.getAttribute('requiredFeatures') is "1 2 3 4" | 76 PASS text1.getAttribute('requiredFeatures') is "1 2 3 4" |
| 77 | 77 |
| 78 Test uncommon arguments for replaceItem() - part 1 | 78 Test uncommon arguments for replaceItem() - part 1 |
| 79 PASS text1.requiredFeatures.replaceItem(30) threw exception TypeError: Not enoug
h arguments. | 79 PASS text1.requiredFeatures.replaceItem(30) threw exception TypeError: Failed to
execute 'replaceItem' on 'SVGStringList': 2 arguments required, but only 1 pres
ent.. |
| 80 PASS text1.requiredFeatures.replaceItem('aString') threw exception TypeError: No
t enough arguments. | 80 PASS text1.requiredFeatures.replaceItem('aString') threw exception TypeError: Fa
iled to execute 'replaceItem' on 'SVGStringList': 2 arguments required, but only
1 present.. |
| 81 PASS text1.requiredFeatures.replaceItem(text1) threw exception TypeError: Not en
ough arguments. | 81 PASS text1.requiredFeatures.replaceItem(text1) threw exception TypeError: Failed
to execute 'replaceItem' on 'SVGStringList': 2 arguments required, but only 1 p
resent.. |
| 82 PASS text1.requiredFeatures.replaceItem(null, 0) is "null" | 82 PASS text1.requiredFeatures.replaceItem(null, 0) is "null" |
| 83 PASS text1.requiredFeatures.numberOfItems is 4 | 83 PASS text1.requiredFeatures.numberOfItems is 4 |
| 84 PASS text1.requiredFeatures.getItem(0) is "null" | 84 PASS text1.requiredFeatures.getItem(0) is "null" |
| 85 PASS text1.requiredFeatures.getItem(1) is "2" | 85 PASS text1.requiredFeatures.getItem(1) is "2" |
| 86 PASS text1.requiredFeatures.getItem(2) is "3" | 86 PASS text1.requiredFeatures.getItem(2) is "3" |
| 87 PASS text1.requiredFeatures.getItem(3) is "4" | 87 PASS text1.requiredFeatures.getItem(3) is "4" |
| 88 PASS text1.getAttribute('requiredFeatures') is "null 2 3 4" | 88 PASS text1.getAttribute('requiredFeatures') is "null 2 3 4" |
| 89 PASS text1.requiredFeatures.replaceItem('aString', 3) is "aString" | 89 PASS text1.requiredFeatures.replaceItem('aString', 3) is "aString" |
| 90 PASS text1.requiredFeatures.numberOfItems is 4 | 90 PASS text1.requiredFeatures.numberOfItems is 4 |
| 91 PASS text1.requiredFeatures.getItem(0) is "null" | 91 PASS text1.requiredFeatures.getItem(0) is "null" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 |