| 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 22 matching lines...) Expand all Loading... |
| 33 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" | 33 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" |
| 34 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100
0 100" | 34 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100
0 100" |
| 35 | 35 |
| 36 Test uncommon arguments for getItem() | 36 Test uncommon arguments for getItem() |
| 37 PASS poly1.points.getItem(30) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. | 37 PASS poly1.points.getItem(30) threw exception IndexSizeError: Index or size was
negative, or greater than the allowed value.. |
| 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: Not enough arg
uments. | 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: Not eno
ugh arguments. | 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: Not enough
arguments. | 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: Not enough a
rguments. | 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 4 |
| 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=100" |
| 52 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" | 52 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" |
| 53 PASS poly1.getAttribute('points').formatPointsAttribute() is "100 0 0 0 100 100
0 100" | 53 PASS poly1.getAttribute('points').formatPointsAttribute() is "100 0 0 0 100 100
0 100" |
| 54 PASS dumpPoint(poly1.points.insertItemBefore(poly1.points.getItem(1), poly1)) is
"x=0 y=0" | 54 PASS dumpPoint(poly1.points.insertItemBefore(poly1.points.getItem(1), poly1)) is
"x=0 y=0" |
| 55 PASS poly1.points.numberOfItems is 4 | 55 PASS poly1.points.numberOfItems is 4 |
| 56 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" | 56 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 70 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" | 70 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" |
| 71 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" | 71 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" |
| 72 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" | 72 PASS dumpPoint(poly1.points.getItem(3)) is "x=0 y=100" |
| 73 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100
0 100" | 73 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 0 100 0 100 100
0 100" |
| 74 PASS poly1.points.insertItemBefore(30, 0) threw exception TypeError: Type error. | 74 PASS poly1.points.insertItemBefore(30, 0) threw exception TypeError: Type error. |
| 75 PASS poly1.points.insertItemBefore('aString', 0) threw exception TypeError: Type
error. | 75 PASS poly1.points.insertItemBefore('aString', 0) threw exception TypeError: Type
error. |
| 76 PASS poly1.points.insertItemBefore(poly1, 0) threw exception TypeError: Type err
or. | 76 PASS poly1.points.insertItemBefore(poly1, 0) threw exception TypeError: Type err
or. |
| 77 PASS poly1.points.insertItemBefore(null, 0) threw exception TypeError: Type erro
r. | 77 PASS poly1.points.insertItemBefore(null, 0) threw exception TypeError: Type erro
r. |
| 78 | 78 |
| 79 Test uncommon arguments for replaceItem() | 79 Test uncommon arguments for replaceItem() |
| 80 PASS poly1.points.replaceItem(30) threw exception TypeError: Not enough argument
s. | 80 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: Not enough a
rguments. | 81 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: Not enough argum
ents. | 82 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: Type error. | 83 PASS poly1.points.replaceItem(null, 0) threw exception TypeError: Type error. |
| 84 PASS poly1.points.replaceItem('aString', 0) threw exception TypeError: Type erro
r. | 84 PASS poly1.points.replaceItem('aString', 0) threw exception TypeError: Type erro
r. |
| 85 PASS poly1.points.replaceItem(poly1, 0) threw exception TypeError: Type error. | 85 PASS poly1.points.replaceItem(poly1, 0) threw exception TypeError: Type error. |
| 86 PASS poly1.points.replaceItem(1, 0) threw exception TypeError: Type error. | 86 PASS poly1.points.replaceItem(1, 0) threw exception TypeError: Type error. |
| 87 | 87 |
| 88 Test uncommon arguments for replaceItem() and xml-dom synchronization | 88 Test uncommon arguments for replaceItem() and xml-dom synchronization |
| 89 PASS poly1.points.numberOfItems is 4 | 89 PASS poly1.points.numberOfItems is 4 |
| 90 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" | 90 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=0" |
| 91 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" | 91 PASS dumpPoint(poly1.points.getItem(1)) is "x=100 y=0" |
| 92 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" | 92 PASS dumpPoint(poly1.points.getItem(2)) is "x=100 y=100" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 PASS poly1.points.appendItem(null) threw exception TypeError: Type error. | 145 PASS poly1.points.appendItem(null) threw exception TypeError: Type error. |
| 146 PASS dumpPoint(poly1.points.appendItem(point)) is "x=200 y=100" | 146 PASS dumpPoint(poly1.points.appendItem(point)) is "x=200 y=100" |
| 147 PASS poly1.points.numberOfItems is 2 | 147 PASS poly1.points.numberOfItems is 2 |
| 148 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=100" | 148 PASS dumpPoint(poly1.points.getItem(0)) is "x=0 y=100" |
| 149 PASS dumpPoint(poly1.points.getItem(1)) is "x=200 y=100" | 149 PASS dumpPoint(poly1.points.getItem(1)) is "x=200 y=100" |
| 150 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 100 200 100" | 150 PASS poly1.getAttribute('points').formatPointsAttribute() is "0 100 200 100" |
| 151 PASS successfullyParsed is true | 151 PASS successfullyParsed is true |
| 152 | 152 |
| 153 TEST COMPLETE | 153 TEST COMPLETE |
| 154 | 154 |
| OLD | NEW |