| OLD | NEW |
| 1 ABC | 1 ABC |
| 2 This is a test of the simple SVGNumberList API parts. | 2 This is a test of the simple SVGNumberList 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.rotate.baseVal != text1.rotate.animVal is true | 7 PASS text1.rotate.baseVal != text1.rotate.animVal is true |
| 8 PASS text1.rotate.baseVal.numberOfItems is 3 | 8 PASS text1.rotate.baseVal.numberOfItems is 3 |
| 9 PASS text1.rotate.animVal.numberOfItems is 3 | 9 PASS text1.rotate.animVal.numberOfItems is 3 |
| 10 | 10 |
| 11 Test uncommon arguments for initialize() | 11 Test uncommon arguments for initialize() |
| 12 PASS text1.rotate.baseVal.initialize(30) threw exception TypeError: Type error. | 12 PASS text1.rotate.baseVal.initialize(30) threw exception TypeError: Type error. |
| 13 PASS text1.rotate.baseVal.initialize('aString') threw exception TypeError: Type
error. | 13 PASS text1.rotate.baseVal.initialize('aString') threw exception TypeError: Type
error. |
| 14 PASS text1.rotate.baseVal.initialize(text1) threw exception TypeError: Type erro
r. | 14 PASS text1.rotate.baseVal.initialize(text1) threw exception TypeError: Type erro
r. |
| 15 PASS text1.rotate.baseVal.initialize(null) threw exception TypeError: Type error
. | 15 PASS text1.rotate.baseVal.initialize(null) threw exception TypeError: Type error
. |
| 16 | 16 |
| 17 Test uncommon arguments for getItem() | 17 Test uncommon arguments for getItem() |
| 18 PASS text1.rotate.baseVal.getItem(30) threw exception IndexSizeError: Index or s
ize was negative, or greater than the allowed value.. | 18 PASS text1.rotate.baseVal.getItem(30) threw exception IndexSizeError: Index or s
ize was negative, or greater than the allowed value.. |
| 19 PASS text1.rotate.baseVal.getItem('aString') is text1.rotate.baseVal.getItem(0) | 19 PASS text1.rotate.baseVal.getItem('aString') is text1.rotate.baseVal.getItem(0) |
| 20 PASS text1.rotate.baseVal.getItem(text1) is text1.rotate.baseVal.getItem(0) | 20 PASS text1.rotate.baseVal.getItem(text1) is text1.rotate.baseVal.getItem(0) |
| 21 PASS text1.rotate.baseVal.getItem(null) is text1.rotate.baseVal.getItem(0) | 21 PASS text1.rotate.baseVal.getItem(null) is text1.rotate.baseVal.getItem(0) |
| 22 | 22 |
| 23 Test uncommon arguments for insertItemBefore() | 23 Test uncommon arguments for insertItemBefore() |
| 24 PASS text1.rotate.baseVal.insertItemBefore(30) threw exception TypeError: Not en
ough arguments. | 24 PASS text1.rotate.baseVal.insertItemBefore(30) threw exception TypeError: Failed
to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required, but onl
y 1 present.. |
| 25 PASS text1.rotate.baseVal.insertItemBefore('aString') threw exception TypeError:
Not enough arguments. | 25 PASS text1.rotate.baseVal.insertItemBefore('aString') threw exception TypeError:
Failed to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required,
but only 1 present.. |
| 26 PASS text1.rotate.baseVal.insertItemBefore(text1) threw exception TypeError: Not
enough arguments. | 26 PASS text1.rotate.baseVal.insertItemBefore(text1) threw exception TypeError: Fai
led to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required, but
only 1 present.. |
| 27 PASS text1.rotate.baseVal.insertItemBefore(null) threw exception TypeError: Not
enough arguments. | 27 PASS text1.rotate.baseVal.insertItemBefore(null) threw exception TypeError: Fail
ed to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required, but o
nly 1 present.. |
| 28 PASS text1.rotate.baseVal.insertItemBefore(text1.rotate.baseVal.getItem(1), 'aSt
ring') is text1.rotate.baseVal.getItem(0) | 28 PASS text1.rotate.baseVal.insertItemBefore(text1.rotate.baseVal.getItem(1), 'aSt
ring') is text1.rotate.baseVal.getItem(0) |
| 29 PASS text1.rotate.baseVal.numberOfItems is 3 | 29 PASS text1.rotate.baseVal.numberOfItems is 3 |
| 30 PASS text1.rotate.baseVal.getItem(0).value is 180 | 30 PASS text1.rotate.baseVal.getItem(0).value is 180 |
| 31 PASS text1.rotate.baseVal.getItem(1).value is 90 | 31 PASS text1.rotate.baseVal.getItem(1).value is 90 |
| 32 PASS text1.rotate.baseVal.getItem(2).value is 270 | 32 PASS text1.rotate.baseVal.getItem(2).value is 270 |
| 33 PASS text1.getAttribute('rotate') is "180 90 270" | 33 PASS text1.getAttribute('rotate') is "180 90 270" |
| 34 PASS text1.rotate.baseVal.insertItemBefore(text1.rotate.baseVal.getItem(1), text
1) is text1.rotate.baseVal.getItem(0) | 34 PASS text1.rotate.baseVal.insertItemBefore(text1.rotate.baseVal.getItem(1), text
1) is text1.rotate.baseVal.getItem(0) |
| 35 PASS text1.rotate.baseVal.numberOfItems is 3 | 35 PASS text1.rotate.baseVal.numberOfItems is 3 |
| 36 PASS text1.rotate.baseVal.getItem(0).value is 90 | 36 PASS text1.rotate.baseVal.getItem(0).value is 90 |
| 37 PASS text1.rotate.baseVal.getItem(1).value is 180 | 37 PASS text1.rotate.baseVal.getItem(1).value is 180 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 57 Set rotate='1 2 3 4' for text1 | 57 Set rotate='1 2 3 4' for text1 |
| 58 PASS text1.setAttribute('rotate', '1 2 3 4') is undefined. | 58 PASS text1.setAttribute('rotate', '1 2 3 4') is undefined. |
| 59 PASS text1.rotate.baseVal.numberOfItems is 4 | 59 PASS text1.rotate.baseVal.numberOfItems is 4 |
| 60 PASS text1.rotate.baseVal.getItem(0).value is 1 | 60 PASS text1.rotate.baseVal.getItem(0).value is 1 |
| 61 PASS text1.rotate.baseVal.getItem(1).value is 2 | 61 PASS text1.rotate.baseVal.getItem(1).value is 2 |
| 62 PASS text1.rotate.baseVal.getItem(2).value is 3 | 62 PASS text1.rotate.baseVal.getItem(2).value is 3 |
| 63 PASS text1.rotate.baseVal.getItem(3).value is 4 | 63 PASS text1.rotate.baseVal.getItem(3).value is 4 |
| 64 PASS text1.getAttribute('rotate') is "1 2 3 4" | 64 PASS text1.getAttribute('rotate') is "1 2 3 4" |
| 65 | 65 |
| 66 Test uncommon arguments for replaceItem() | 66 Test uncommon arguments for replaceItem() |
| 67 PASS text1.rotate.baseVal.replaceItem(30) threw exception TypeError: Not enough
arguments. | 67 PASS text1.rotate.baseVal.replaceItem(30) threw exception TypeError: Failed to e
xecute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 presen
t.. |
| 68 PASS text1.rotate.baseVal.replaceItem('aString') threw exception TypeError: Not
enough arguments. | 68 PASS text1.rotate.baseVal.replaceItem('aString') threw exception TypeError: Fail
ed to execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1
present.. |
| 69 PASS text1.rotate.baseVal.replaceItem(text1) threw exception TypeError: Not enou
gh arguments. | 69 PASS text1.rotate.baseVal.replaceItem(text1) threw exception TypeError: Failed t
o execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 pre
sent.. |
| 70 PASS text1.rotate.baseVal.replaceItem(null) threw exception TypeError: Not enoug
h arguments. | 70 PASS text1.rotate.baseVal.replaceItem(null) threw exception TypeError: Failed to
execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 pres
ent.. |
| 71 PASS text1.rotate.baseVal.replaceItem(30, 0) threw exception TypeError: Type err
or. | 71 PASS text1.rotate.baseVal.replaceItem(30, 0) threw exception TypeError: Type err
or. |
| 72 PASS text1.rotate.baseVal.replaceItem('aString', 0) threw exception TypeError: T
ype error. | 72 PASS text1.rotate.baseVal.replaceItem('aString', 0) threw exception TypeError: T
ype error. |
| 73 PASS text1.rotate.baseVal.replaceItem(text1, 0) threw exception TypeError: Type
error. | 73 PASS text1.rotate.baseVal.replaceItem(text1, 0) threw exception TypeError: Type
error. |
| 74 PASS text1.rotate.baseVal.replaceItem(null, 0) threw exception TypeError: Type e
rror. | 74 PASS text1.rotate.baseVal.replaceItem(null, 0) threw exception TypeError: Type e
rror. |
| 75 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 0) is tex
t1.rotate.baseVal.getItem(0) | 75 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 0) is tex
t1.rotate.baseVal.getItem(0) |
| 76 PASS text1.rotate.baseVal.numberOfItems is 4 | 76 PASS text1.rotate.baseVal.numberOfItems is 4 |
| 77 PASS text1.rotate.baseVal.getItem(0).value is 1 | 77 PASS text1.rotate.baseVal.getItem(0).value is 1 |
| 78 PASS text1.rotate.baseVal.getItem(1).value is 2 | 78 PASS text1.rotate.baseVal.getItem(1).value is 2 |
| 79 PASS text1.rotate.baseVal.getItem(2).value is 3 | 79 PASS text1.rotate.baseVal.getItem(2).value is 3 |
| 80 PASS text1.rotate.baseVal.getItem(3).value is 4 | 80 PASS text1.rotate.baseVal.getItem(3).value is 4 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 PASS text1.rotate.baseVal.appendItem(text1) threw exception TypeError: Type erro
r. | 120 PASS text1.rotate.baseVal.appendItem(text1) threw exception TypeError: Type erro
r. |
| 121 PASS text1.rotate.baseVal.appendItem(null) threw exception TypeError: Type error
. | 121 PASS text1.rotate.baseVal.appendItem(null) threw exception TypeError: Type error
. |
| 122 | 122 |
| 123 Testing animVal clear throws | 123 Testing animVal clear throws |
| 124 PASS text1.rotate.animVal.clear() threw exception NoModificationAllowedError: An
attempt was made to modify an object where modifications are not allowed.. | 124 PASS text1.rotate.animVal.clear() threw exception NoModificationAllowedError: An
attempt was made to modify an object where modifications are not allowed.. |
| 125 PASS text1.rotate.baseVal.clear() is undefined. | 125 PASS text1.rotate.baseVal.clear() is undefined. |
| 126 PASS successfullyParsed is true | 126 PASS successfullyParsed is true |
| 127 | 127 |
| 128 TEST COMPLETE | 128 TEST COMPLETE |
| 129 | 129 |
| OLD | NEW |