| OLD | NEW |
| 1 This is a test of the simple SVGPointList API parts. | 1 This is a test of the simple SVGPointList API parts. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS poly1.points.numberOfItems is 4 | 6 PASS poly1.points.numberOfItems is 4 |
| 7 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" | 7 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" |
| 8 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" | 8 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" |
| 9 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" | 9 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" |
| 10 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" | 10 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 PASS poly1.points.getItem('aString') is poly1.points.getItem(0) | 38 PASS poly1.points.getItem('aString') is poly1.points.getItem(0) |
| 39 PASS poly1.points.getItem(poly1) is poly1.points.getItem(0) | 39 PASS poly1.points.getItem(poly1) is poly1.points.getItem(0) |
| 40 PASS poly1.points.getItem(null) is poly1.points.getItem(0) | 40 PASS poly1.points.getItem(null) is poly1.points.getItem(0) |
| 41 | 41 |
| 42 Test uncommon arguments for insertItemBefore() | 42 Test uncommon arguments for insertItemBefore() |
| 43 PASS poly1.points.insertItemBefore(30) threw exception TypeError: Failed to exec
ute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only 1 prese
nt.. | 43 PASS poly1.points.insertItemBefore(30) threw exception TypeError: Failed to exec
ute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only 1 prese
nt.. |
| 44 PASS poly1.points.insertItemBefore('aString') threw exception TypeError: Failed
to execute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only
1 present.. | 44 PASS poly1.points.insertItemBefore('aString') threw exception TypeError: Failed
to execute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only
1 present.. |
| 45 PASS poly1.points.insertItemBefore(poly1) threw exception TypeError: Failed to e
xecute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only 1 pr
esent.. | 45 PASS poly1.points.insertItemBefore(poly1) threw exception TypeError: Failed to e
xecute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only 1 pr
esent.. |
| 46 PASS poly1.points.insertItemBefore(null) threw exception TypeError: Failed to ex
ecute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only 1 pre
sent.. | 46 PASS poly1.points.insertItemBefore(null) threw exception TypeError: Failed to ex
ecute 'insertItemBefore' on 'SVGPointList': 2 arguments required, but only 1 pre
sent.. |
| 47 PASS dumpPoint(poly1.points.insertItemBefore(poly1.points.getItem(1), 'aString')
) is "x=100 y=0" | 47 PASS dumpPoint(poly1.points.insertItemBefore(poly1.points.getItem(1), 'aString')
) is "x=100 y=0" |
| 48 PASS poly1.points.numberOfItems is 4 | 48 PASS poly1.points.numberOfItems is 5 |
| 49 PASS dumpPoint(poly1.points.getItem(0)) is "x=100 y=0" | 49 PASS dumpPoint(poly1.points.getItem(0)) is "x=100 y=0" |
| 50 PASS dumpPoint(poly1.points.getItem(1)) is "x=0 y=0" | 50 PASS dumpPoint(poly1.points.getItem(1)) is "x=0 y=0" |
| 51 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" | 51 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=0" |
| 52 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" | 52 PASS dumpPoint(poly1.points.getItem(3)) is "x=100 y=100" |
| 53 PASS poly1.getAttribute('points').formatPointsAttribute() is "100 0 0 0 100 100
0 100" | 53 PASS dumpPoint(poly1.points.getItem(4)) is "x=0 y=100" |
| 54 PASS poly1.getAttribute('points').formatPointsAttribute() is "100 0 0 0 100 0 10
0 100 0 100" |
| 54 PASS dumpPoint(poly1.points.insertItemBefore(poly1.points.getItem(1), poly1)) is
"x=0 y=0" | 55 PASS dumpPoint(poly1.points.insertItemBefore(poly1.points.getItem(1), poly1)) is
"x=0 y=0" |
| 55 PASS poly1.points.numberOfItems is 4 | 56 PASS poly1.points.numberOfItems is 6 |
| 56 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" | 57 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" |
| 57 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" | 58 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" |
| 58 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" | 59 PASS dumpPoint(poly1.points.getItem(2)) is "x=0 y=0" |
| 59 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" | 60 PASS dumpPoint(poly1.points.getItem(3)) is "x=100 y=0" |
| 60 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100
0 100" | 61 PASS dumpPoint(poly1.points.getItem(4)) is "x=100 y=100" |
| 62 PASS dumpPoint(poly1.points.getItem(5)) is "x=0 y=100" |
| 63 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 0 0 100
0 100 100 0 100" |
| 61 PASS dumpPoint(poly1.points.insertItemBefore(poly1.points.getItem(1), null)) is
"x=100 y=0" | 64 PASS dumpPoint(poly1.points.insertItemBefore(poly1.points.getItem(1), null)) is
"x=100 y=0" |
| 62 PASS poly1.points.numberOfItems is 4 | 65 PASS poly1.points.numberOfItems is 7 |
| 63 PASS dumpPoint(poly1.points.getItem(0)) is "x=100 y=0" | 66 PASS dumpPoint(poly1.points.getItem(0)) is "x=100 y=0" |
| 64 PASS dumpPoint(poly1.points.getItem(1)) is "x=0 y=0" | 67 PASS dumpPoint(poly1.points.getItem(1)) is "x=0 y=0" |
| 65 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" | 68 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=0" |
| 66 PASS poly1.getAttribute('points').formatPointsAttribute() is "100 0 0 0 100 100
0 100" | 69 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=0" |
| 70 PASS dumpPoint(poly1.points.getItem(4)) is "x=100 y=0" |
| 71 PASS dumpPoint(poly1.points.getItem(5)) is "x=100 y=100" |
| 72 PASS dumpPoint(poly1.points.getItem(6)) is "x=0 y=100" |
| 73 PASS poly1.getAttribute('points').formatPointsAttribute() is "100 0 0 0 100 0 0
0 100 0 100 100 0 100" |
| 67 PASS dumpPoint(poly1.points.insertItemBefore(poly1.points.getItem(1), 0)) is "x=
0 y=0" | 74 PASS dumpPoint(poly1.points.insertItemBefore(poly1.points.getItem(1), 0)) is "x=
0 y=0" |
| 68 PASS poly1.points.numberOfItems is 4 | 75 PASS poly1.points.numberOfItems is 8 |
| 69 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" | 76 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" |
| 70 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" | 77 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" |
| 71 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" | 78 PASS dumpPoint(poly1.points.getItem(2)) is "x=0 y=0" |
| 72 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" | 79 PASS dumpPoint(poly1.points.getItem(3)) is "x=100 y=0" |
| 73 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100
0 100" | 80 PASS dumpPoint(poly1.points.getItem(4)) is "x=0 y=0" |
| 81 PASS dumpPoint(poly1.points.getItem(5)) is "x=100 y=0" |
| 82 PASS dumpPoint(poly1.points.getItem(6)) is "x=100 y=100" |
| 83 PASS dumpPoint(poly1.points.getItem(7)) is "x=0 y=100" |
| 84 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 0 0 100
0 0 0 100 0 100 100 0 100" |
| 74 PASS poly1.points.insertItemBefore(30, 0) threw exception TypeError: Failed to e
xecute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPoin
t'.. | 85 PASS poly1.points.insertItemBefore(30, 0) threw exception TypeError: Failed to e
xecute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPoin
t'.. |
| 75 PASS poly1.points.insertItemBefore('aString', 0) threw exception TypeError: Fail
ed to execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type '
SVGPoint'.. | 86 PASS poly1.points.insertItemBefore('aString', 0) threw exception TypeError: Fail
ed to execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type '
SVGPoint'.. |
| 76 PASS poly1.points.insertItemBefore(poly1, 0) threw exception TypeError: Failed t
o execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGP
oint'.. | 87 PASS poly1.points.insertItemBefore(poly1, 0) threw exception TypeError: Failed t
o execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGP
oint'.. |
| 77 PASS poly1.points.insertItemBefore(null, 0) threw exception TypeError: Failed to
execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPo
int'.. | 88 PASS poly1.points.insertItemBefore(null, 0) threw exception TypeError: Failed to
execute 'insertItemBefore' on 'SVGPointList': parameter 1 is not of type 'SVGPo
int'.. |
| 78 | 89 |
| 79 Test uncommon arguments for replaceItem() | 90 Test uncommon arguments for replaceItem() |
| 80 PASS poly1.points.replaceItem(30) threw exception TypeError: Failed to execute '
replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present.. | 91 PASS poly1.points.replaceItem(30) threw exception TypeError: Failed to execute '
replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present.. |
| 81 PASS poly1.points.replaceItem('aString') threw exception TypeError: Failed to ex
ecute 'replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present.
. | 92 PASS poly1.points.replaceItem('aString') threw exception TypeError: Failed to ex
ecute 'replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present.
. |
| 82 PASS poly1.points.replaceItem(poly1) threw exception TypeError: Failed to execut
e 'replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present.. | 93 PASS poly1.points.replaceItem(poly1) threw exception TypeError: Failed to execut
e 'replaceItem' on 'SVGPointList': 2 arguments required, but only 1 present.. |
| 83 PASS poly1.points.replaceItem(null, 0) threw exception TypeError: Failed to exec
ute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.. | 94 PASS poly1.points.replaceItem(null, 0) threw exception TypeError: Failed to exec
ute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.. |
| 84 PASS poly1.points.replaceItem('aString', 0) threw exception TypeError: Failed to
execute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.
. | 95 PASS poly1.points.replaceItem('aString', 0) threw exception TypeError: Failed to
execute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.
. |
| 85 PASS poly1.points.replaceItem(poly1, 0) threw exception TypeError: Failed to exe
cute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.. | 96 PASS poly1.points.replaceItem(poly1, 0) threw exception TypeError: Failed to exe
cute 'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.. |
| 86 PASS poly1.points.replaceItem(1, 0) threw exception TypeError: Failed to execute
'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.. | 97 PASS poly1.points.replaceItem(1, 0) threw exception TypeError: Failed to execute
'replaceItem' on 'SVGPointList': parameter 1 is not of type 'SVGPoint'.. |
| 87 | 98 |
| 88 Test uncommon values for indexed setter | 99 Test uncommon values for indexed setter |
| 89 PASS poly1.points[0] = 30 threw exception TypeError: Failed to set an indexed pr
operty on 'SVGPointList': The provided value is not of type 'SVGPoint'.. | 100 PASS poly1.points[0] = 30 threw exception TypeError: Failed to set an indexed pr
operty on 'SVGPointList': The provided value is not of type 'SVGPoint'.. |
| 90 PASS poly1.points[0] = 'aString' threw exception TypeError: Failed to set an ind
exed property on 'SVGPointList': The provided value is not of type 'SVGPoint'.. | 101 PASS poly1.points[0] = 'aString' threw exception TypeError: Failed to set an ind
exed property on 'SVGPointList': The provided value is not of type 'SVGPoint'.. |
| 91 PASS poly1.points[0] = poly1 threw exception TypeError: Failed to set an indexed
property on 'SVGPointList': The provided value is not of type 'SVGPoint'.. | 102 PASS poly1.points[0] = poly1 threw exception TypeError: Failed to set an indexed
property on 'SVGPointList': The provided value is not of type 'SVGPoint'.. |
| 92 PASS poly1.points[0] = null threw exception TypeError: Failed to set an indexed
property on 'SVGPointList': The provided value is not of type 'SVGPoint'.. | 103 PASS poly1.points[0] = null threw exception TypeError: Failed to set an indexed
property on 'SVGPointList': The provided value is not of type 'SVGPoint'.. |
| 93 | 104 |
| 94 Test uncommon arguments for replaceItem() and xml-dom synchronization | 105 Test uncommon arguments for replaceItem() and xml-dom synchronization |
| 95 PASS poly1.points.numberOfItems is 4 | 106 PASS poly1.points.numberOfItems is 8 |
| 96 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" | 107 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" |
| 97 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" | 108 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" |
| 98 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" | 109 PASS dumpPoint(poly1.points.getItem(2)) is "x=0 y=0" |
| 99 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" | 110 PASS dumpPoint(poly1.points.getItem(3)) is "x=100 y=0" |
| 100 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100
0 100" | 111 PASS dumpPoint(poly1.points.getItem(4)) is "x=0 y=0" |
| 112 PASS dumpPoint(poly1.points.getItem(5)) is "x=100 y=0" |
| 113 PASS dumpPoint(poly1.points.getItem(6)) is "x=100 y=100" |
| 114 PASS dumpPoint(poly1.points.getItem(7)) is "x=0 y=100" |
| 115 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 0 0 100
0 0 0 100 0 100 100 0 100" |
| 101 PASS dumpPoint(poly1.points.replaceItem(poly1.points.getItem(0), 0)) is "x=0 y=0
" | 116 PASS dumpPoint(poly1.points.replaceItem(poly1.points.getItem(0), 0)) is "x=0 y=0
" |
| 102 PASS poly1.points.numberOfItems is 4 | 117 PASS poly1.points.numberOfItems is 8 |
| 103 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" | 118 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" |
| 104 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" | 119 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" |
| 105 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" | 120 PASS dumpPoint(poly1.points.getItem(2)) is "x=0 y=0" |
| 106 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" | 121 PASS dumpPoint(poly1.points.getItem(3)) is "x=100 y=0" |
| 107 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100
0 100" | 122 PASS dumpPoint(poly1.points.getItem(4)) is "x=0 y=0" |
| 123 PASS dumpPoint(poly1.points.getItem(5)) is "x=100 y=0" |
| 124 PASS dumpPoint(poly1.points.getItem(6)) is "x=100 y=100" |
| 125 PASS dumpPoint(poly1.points.getItem(7)) is "x=0 y=100" |
| 126 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 0 0 100
0 0 0 100 0 100 100 0 100" |
| 108 PASS dumpPoint(poly1.points.replaceItem(poly1.points.getItem(0), 'aString')) is
"x=0 y=0" | 127 PASS dumpPoint(poly1.points.replaceItem(poly1.points.getItem(0), 'aString')) is
"x=0 y=0" |
| 109 PASS poly1.points.numberOfItems is 4 | 128 PASS poly1.points.numberOfItems is 8 |
| 110 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" | 129 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" |
| 111 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" | 130 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" |
| 112 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" | 131 PASS dumpPoint(poly1.points.getItem(2)) is "x=0 y=0" |
| 113 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" | 132 PASS dumpPoint(poly1.points.getItem(3)) is "x=100 y=0" |
| 114 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100
0 100" | 133 PASS dumpPoint(poly1.points.getItem(4)) is "x=0 y=0" |
| 134 PASS dumpPoint(poly1.points.getItem(5)) is "x=100 y=0" |
| 135 PASS dumpPoint(poly1.points.getItem(6)) is "x=100 y=100" |
| 136 PASS dumpPoint(poly1.points.getItem(7)) is "x=0 y=100" |
| 137 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 0 0 100
0 0 0 100 0 100 100 0 100" |
| 115 PASS dumpPoint(poly1.points.replaceItem(poly1.points.getItem(0), poly1)) is "x=0
y=0" | 138 PASS dumpPoint(poly1.points.replaceItem(poly1.points.getItem(0), poly1)) is "x=0
y=0" |
| 116 PASS poly1.points.numberOfItems is 4 | 139 PASS poly1.points.numberOfItems is 8 |
| 117 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" | 140 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" |
| 118 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" | 141 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" |
| 119 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" | 142 PASS dumpPoint(poly1.points.getItem(2)) is "x=0 y=0" |
| 120 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" | 143 PASS dumpPoint(poly1.points.getItem(3)) is "x=100 y=0" |
| 121 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100
0 100" | 144 PASS dumpPoint(poly1.points.getItem(4)) is "x=0 y=0" |
| 145 PASS dumpPoint(poly1.points.getItem(5)) is "x=100 y=0" |
| 146 PASS dumpPoint(poly1.points.getItem(6)) is "x=100 y=100" |
| 147 PASS dumpPoint(poly1.points.getItem(7)) is "x=0 y=100" |
| 148 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 0 0 100
0 0 0 100 0 100 100 0 100" |
| 122 PASS dumpPoint(poly1.points.replaceItem(poly1.points.getItem(0), null)) is "x=0
y=0" | 149 PASS dumpPoint(poly1.points.replaceItem(poly1.points.getItem(0), null)) is "x=0
y=0" |
| 123 PASS poly1.points.numberOfItems is 4 | 150 PASS poly1.points.numberOfItems is 8 |
| 124 PASS poly1.getAttribute('points') is "0 0 100 0 100 100 0 100" | 151 PASS poly1.getAttribute('points') is "0 0 100 0 0 0 100 0 0 0 100 0 100 100 0 10
0" |
| 125 | 152 |
| 126 Reset points attribute to 0 0 100 0 100 100 0 100 | 153 Reset points attribute to 0 0 100 0 100 100 0 100 |
| 127 PASS poly1.setAttribute('points', '0 0 100 0 100 100 0 100') is undefined. | 154 PASS poly1.setAttribute('points', '0 0 100 0 100 100 0 100') is undefined. |
| 128 | 155 |
| 129 Test uncommon arguments for removeItem() | 156 Test uncommon arguments for removeItem() |
| 130 PASS poly1.points.removeItem(30) threw exception IndexSizeError: Failed to execu
te 'removeItem' on 'SVGPointList': The index provided (30) is greater than the m
aximum bound (4).. | 157 PASS poly1.points.removeItem(30) threw exception IndexSizeError: Failed to execu
te 'removeItem' on 'SVGPointList': The index provided (30) is greater than the m
aximum bound (4).. |
| 131 PASS dumpPoint(poly1.points.removeItem('aString')) is "x=0 y=0" | 158 PASS dumpPoint(poly1.points.removeItem('aString')) is "x=0 y=0" |
| 132 PASS poly1.points.numberOfItems is 3 | 159 PASS poly1.points.numberOfItems is 3 |
| 133 PASS dumpPoint(poly1.points.getItem(0)) is "x=100 y=0" | 160 PASS dumpPoint(poly1.points.getItem(0)) is "x=100 y=0" |
| 134 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=100" | 161 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=100" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 147 Test uncommon arguments for appendItem() | 174 Test uncommon arguments for appendItem() |
| 148 PASS dumpPoint(poly1.points.appendItem(point)) is "x=200 y=100" | 175 PASS dumpPoint(poly1.points.appendItem(point)) is "x=200 y=100" |
| 149 PASS poly1.points.numberOfItems is 2 | 176 PASS poly1.points.numberOfItems is 2 |
| 150 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=100" | 177 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=100" |
| 151 PASS dumpPoint(poly1.points.getItem(1)) is "x=200 y=100" | 178 PASS dumpPoint(poly1.points.getItem(1)) is "x=200 y=100" |
| 152 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 100 200 100" | 179 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 100 200 100" |
| 153 PASS successfullyParsed is true | 180 PASS successfullyParsed is true |
| 154 | 181 |
| 155 TEST COMPLETE | 182 TEST COMPLETE |
| 156 | 183 |
| OLD | NEW |