| 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 Error: SVG_WRONG_TYPE
_ERR: DOM SVG Exception 0. | 15 PASS text1.rotate.baseVal.initialize(null) threw exception SVG_WRONG_TYPE_ERR: A
n object of the wrong type was passed to an operation.. |
| 16 | 16 |
| 17 Test uncommon arguments for getItem() | 17 Test uncommon arguments for getItem() |
| 18 PASS text1.rotate.baseVal.getItem(30) threw exception Error: IndexSizeError: DOM
Exception 1. | 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: Not en
ough arguments. |
| 25 PASS text1.rotate.baseVal.insertItemBefore('aString') threw exception TypeError:
Not enough arguments. | 25 PASS text1.rotate.baseVal.insertItemBefore('aString') threw exception TypeError:
Not enough arguments. |
| 26 PASS text1.rotate.baseVal.insertItemBefore(text1) threw exception TypeError: Not
enough arguments. | 26 PASS text1.rotate.baseVal.insertItemBefore(text1) threw exception TypeError: Not
enough arguments. |
| 27 PASS text1.rotate.baseVal.insertItemBefore(null) threw exception TypeError: Not
enough arguments. | 27 PASS text1.rotate.baseVal.insertItemBefore(null) threw exception TypeError: Not
enough arguments. |
| 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) |
| (...skipping 16 matching lines...) Expand all Loading... |
| 45 PASS text1.getAttribute('rotate') is "180 90 270" | 45 PASS text1.getAttribute('rotate') is "180 90 270" |
| 46 PASS text1.rotate.baseVal.insertItemBefore(text1.rotate.baseVal.getItem(1), 0) i
s text1.rotate.baseVal.getItem(0) | 46 PASS text1.rotate.baseVal.insertItemBefore(text1.rotate.baseVal.getItem(1), 0) i
s text1.rotate.baseVal.getItem(0) |
| 47 PASS text1.rotate.baseVal.numberOfItems is 3 | 47 PASS text1.rotate.baseVal.numberOfItems is 3 |
| 48 PASS text1.rotate.baseVal.getItem(0).value is 90 | 48 PASS text1.rotate.baseVal.getItem(0).value is 90 |
| 49 PASS text1.rotate.baseVal.getItem(1).value is 180 | 49 PASS text1.rotate.baseVal.getItem(1).value is 180 |
| 50 PASS text1.rotate.baseVal.getItem(2).value is 270 | 50 PASS text1.rotate.baseVal.getItem(2).value is 270 |
| 51 PASS text1.getAttribute('rotate') is "90 180 270" | 51 PASS text1.getAttribute('rotate') is "90 180 270" |
| 52 PASS text1.rotate.baseVal.insertItemBefore(30, 0) threw exception TypeError: Typ
e error. | 52 PASS text1.rotate.baseVal.insertItemBefore(30, 0) threw exception TypeError: Typ
e error. |
| 53 PASS text1.rotate.baseVal.insertItemBefore('aString', 0) threw exception TypeErr
or: Type error. | 53 PASS text1.rotate.baseVal.insertItemBefore('aString', 0) threw exception TypeErr
or: Type error. |
| 54 PASS text1.rotate.baseVal.insertItemBefore(text1, 0) threw exception TypeError:
Type error. | 54 PASS text1.rotate.baseVal.insertItemBefore(text1, 0) threw exception TypeError:
Type error. |
| 55 PASS text1.rotate.baseVal.insertItemBefore(null, 0) threw exception Error: SVG_W
RONG_TYPE_ERR: DOM SVG Exception 0. | 55 PASS text1.rotate.baseVal.insertItemBefore(null, 0) threw exception SVG_WRONG_TY
PE_ERR: An object of the wrong type was passed to an operation.. |
| 56 | 56 |
| 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: Not enough
arguments. |
| 68 PASS text1.rotate.baseVal.replaceItem('aString') threw exception TypeError: Not
enough arguments. | 68 PASS text1.rotate.baseVal.replaceItem('aString') threw exception TypeError: Not
enough arguments. |
| 69 PASS text1.rotate.baseVal.replaceItem(text1) threw exception TypeError: Not enou
gh arguments. | 69 PASS text1.rotate.baseVal.replaceItem(text1) threw exception TypeError: Not enou
gh arguments. |
| 70 PASS text1.rotate.baseVal.replaceItem(null) threw exception TypeError: Not enoug
h arguments. | 70 PASS text1.rotate.baseVal.replaceItem(null) threw exception TypeError: Not enoug
h arguments. |
| 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 Error: SVG_WRONG_
TYPE_ERR: DOM SVG Exception 0. | 74 PASS text1.rotate.baseVal.replaceItem(null, 0) threw exception SVG_WRONG_TYPE_ER
R: An object of the wrong type was passed to an operation.. |
| 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 |
| 81 PASS text1.getAttribute('rotate') is "1 2 3 4" | 81 PASS text1.getAttribute('rotate') is "1 2 3 4" |
| 82 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 'aString'
) is text1.rotate.baseVal.getItem(0) | 82 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), 'aString'
) is text1.rotate.baseVal.getItem(0) |
| 83 PASS text1.rotate.baseVal.numberOfItems is 4 | 83 PASS text1.rotate.baseVal.numberOfItems is 4 |
| 84 PASS text1.rotate.baseVal.getItem(0).value is 1 | 84 PASS text1.rotate.baseVal.getItem(0).value is 1 |
| 85 PASS text1.rotate.baseVal.getItem(1).value is 2 | 85 PASS text1.rotate.baseVal.getItem(1).value is 2 |
| 86 PASS text1.rotate.baseVal.getItem(2).value is 3 | 86 PASS text1.rotate.baseVal.getItem(2).value is 3 |
| 87 PASS text1.rotate.baseVal.getItem(3).value is 4 | 87 PASS text1.rotate.baseVal.getItem(3).value is 4 |
| 88 PASS text1.getAttribute('rotate') is "1 2 3 4" | 88 PASS text1.getAttribute('rotate') is "1 2 3 4" |
| 89 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), text1) is
text1.rotate.baseVal.getItem(0) | 89 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), text1) is
text1.rotate.baseVal.getItem(0) |
| 90 PASS text1.rotate.baseVal.numberOfItems is 4 | 90 PASS text1.rotate.baseVal.numberOfItems is 4 |
| 91 PASS text1.getAttribute('rotate') is "1 2 3 4" | 91 PASS text1.getAttribute('rotate') is "1 2 3 4" |
| 92 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), null) is
text1.rotate.baseVal.getItem(0) | 92 PASS text1.rotate.baseVal.replaceItem(text1.rotate.baseVal.getItem(0), null) is
text1.rotate.baseVal.getItem(0) |
| 93 PASS text1.rotate.baseVal.numberOfItems is 4 | 93 PASS text1.rotate.baseVal.numberOfItems is 4 |
| 94 PASS text1.getAttribute('rotate') is "1 2 3 4" | 94 PASS text1.getAttribute('rotate') is "1 2 3 4" |
| 95 | 95 |
| 96 Set rotate='1 2 3 4' for text1 | 96 Set rotate='1 2 3 4' for text1 |
| 97 PASS text1.setAttribute('rotate', '1 2 3 4') is undefined. | 97 PASS text1.setAttribute('rotate', '1 2 3 4') is undefined. |
| 98 | 98 |
| 99 Test uncommon arguents for removeItem() | 99 Test uncommon arguents for removeItem() |
| 100 PASS text1.rotate.baseVal.removeItem(30) threw exception Error: IndexSizeError:
DOM Exception 1. | 100 PASS text1.rotate.baseVal.removeItem(30) threw exception IndexSizeError: Index o
r size was negative, or greater than the allowed value.. |
| 101 PASS text1.rotate.baseVal.removeItem('aString').value is 1 | 101 PASS text1.rotate.baseVal.removeItem('aString').value is 1 |
| 102 PASS text1.rotate.baseVal.numberOfItems is 3 | 102 PASS text1.rotate.baseVal.numberOfItems is 3 |
| 103 PASS text1.rotate.baseVal.getItem(0).value is 2 | 103 PASS text1.rotate.baseVal.getItem(0).value is 2 |
| 104 PASS text1.rotate.baseVal.getItem(1).value is 3 | 104 PASS text1.rotate.baseVal.getItem(1).value is 3 |
| 105 PASS text1.rotate.baseVal.getItem(2).value is 4 | 105 PASS text1.rotate.baseVal.getItem(2).value is 4 |
| 106 PASS text1.getAttribute('rotate') is "2 3 4" | 106 PASS text1.getAttribute('rotate') is "2 3 4" |
| 107 PASS text1.rotate.baseVal.removeItem(text1).value is 2 | 107 PASS text1.rotate.baseVal.removeItem(text1).value is 2 |
| 108 PASS text1.rotate.baseVal.numberOfItems is 2 | 108 PASS text1.rotate.baseVal.numberOfItems is 2 |
| 109 PASS text1.rotate.baseVal.getItem(0).value is 3 | 109 PASS text1.rotate.baseVal.getItem(0).value is 3 |
| 110 PASS text1.rotate.baseVal.getItem(1).value is 4 | 110 PASS text1.rotate.baseVal.getItem(1).value is 4 |
| 111 PASS text1.getAttribute('rotate') is "3 4" | 111 PASS text1.getAttribute('rotate') is "3 4" |
| 112 PASS text1.rotate.baseVal.removeItem(null).value is 3 | 112 PASS text1.rotate.baseVal.removeItem(null).value is 3 |
| 113 PASS text1.rotate.baseVal.numberOfItems is 1 | 113 PASS text1.rotate.baseVal.numberOfItems is 1 |
| 114 PASS text1.rotate.baseVal.getItem(0).value is 4 | 114 PASS text1.rotate.baseVal.getItem(0).value is 4 |
| 115 PASS text1.getAttribute('rotate') is "4" | 115 PASS text1.getAttribute('rotate') is "4" |
| 116 | 116 |
| 117 Test uncommon arguments for appendItem() | 117 Test uncommon arguments for appendItem() |
| 118 PASS text1.rotate.baseVal.appendItem(30) threw exception TypeError: Type error. | 118 PASS text1.rotate.baseVal.appendItem(30) threw exception TypeError: Type error. |
| 119 PASS text1.rotate.baseVal.appendItem('aString') threw exception TypeError: Type
error. | 119 PASS text1.rotate.baseVal.appendItem('aString') threw exception TypeError: Type
error. |
| 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 Error: SVG_WRONG_TYPE
_ERR: DOM SVG Exception 0. | 121 PASS text1.rotate.baseVal.appendItem(null) threw exception SVG_WRONG_TYPE_ERR: A
n object of the wrong type was passed to an operation.. |
| 122 | 122 |
| 123 Testing animVal clear throws | 123 Testing animVal clear throws |
| 124 PASS text1.rotate.animVal.clear() threw exception Error: NoModificationAllowedEr
ror: DOM Exception 7. | 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 |