| 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: Failed to ex
ecute 'initialize' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.. | 12 PASS text1.rotate.baseVal.initialize(30) threw exception TypeError: Failed to ex
ecute 'initialize' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.. |
| 13 PASS text1.rotate.baseVal.initialize('aString') threw exception TypeError: Faile
d to execute 'initialize' on 'SVGNumberList': parameter 1 is not of type 'SVGNum
ber'.. | 13 PASS text1.rotate.baseVal.initialize('aString') threw exception TypeError: Faile
d to execute 'initialize' on 'SVGNumberList': parameter 1 is not of type 'SVGNum
ber'.. |
| 14 PASS text1.rotate.baseVal.initialize(text1) threw exception TypeError: Failed to
execute 'initialize' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'
.. | 14 PASS text1.rotate.baseVal.initialize(text1) threw exception TypeError: Failed to
execute 'initialize' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'
.. |
| 15 PASS text1.rotate.baseVal.initialize(null) threw exception TypeError: Failed to
execute 'initialize' on 'SVGNumberList': The PassListItemType provided is invali
d.. | 15 PASS text1.rotate.baseVal.initialize(null) threw exception TypeError: Failed to
execute 'initialize' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.
. |
| 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: Failed
to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required, but onl
y 1 present.. | 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:
Failed to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required,
but only 1 present.. | 25 PASS text1.rotate.baseVal.insertItemBefore('aString') threw exception TypeError:
Failed to execute 'insertItemBefore' on 'SVGNumberList': 2 arguments required,
but only 1 present.. |
| (...skipping 19 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: Fai
led to execute 'insertItemBefore' on 'SVGNumberList': parameter 1 is not of type
'SVGNumber'.. | 52 PASS text1.rotate.baseVal.insertItemBefore(30, 0) threw exception TypeError: Fai
led to execute 'insertItemBefore' on 'SVGNumberList': parameter 1 is not of type
'SVGNumber'.. |
| 53 PASS text1.rotate.baseVal.insertItemBefore('aString', 0) threw exception TypeErr
or: Failed to execute 'insertItemBefore' on 'SVGNumberList': parameter 1 is not
of type 'SVGNumber'.. | 53 PASS text1.rotate.baseVal.insertItemBefore('aString', 0) threw exception TypeErr
or: Failed to execute 'insertItemBefore' on 'SVGNumberList': parameter 1 is not
of type 'SVGNumber'.. |
| 54 PASS text1.rotate.baseVal.insertItemBefore(text1, 0) threw exception TypeError:
Failed to execute 'insertItemBefore' on 'SVGNumberList': parameter 1 is not of t
ype 'SVGNumber'.. | 54 PASS text1.rotate.baseVal.insertItemBefore(text1, 0) threw exception TypeError:
Failed to execute 'insertItemBefore' on 'SVGNumberList': parameter 1 is not of t
ype 'SVGNumber'.. |
| 55 PASS text1.rotate.baseVal.insertItemBefore(null, 0) threw exception TypeError: F
ailed to execute 'insertItemBefore' on 'SVGNumberList': The PassListItemType pro
vided is invalid.. | 55 PASS text1.rotate.baseVal.insertItemBefore(null, 0) threw exception TypeError: F
ailed to execute 'insertItemBefore' on 'SVGNumberList': parameter 1 is not of ty
pe 'SVGNumber'.. |
| 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: Failed to e
xecute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 presen
t.. | 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: Fail
ed to execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1
present.. | 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: Failed t
o execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 pre
sent.. | 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: Failed to
execute 'replaceItem' on 'SVGNumberList': 2 arguments required, but only 1 pres
ent.. | 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: Failed t
o execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumbe
r'.. | 71 PASS text1.rotate.baseVal.replaceItem(30, 0) threw exception TypeError: Failed t
o execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumbe
r'.. |
| 72 PASS text1.rotate.baseVal.replaceItem('aString', 0) threw exception TypeError: F
ailed to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'S
VGNumber'.. | 72 PASS text1.rotate.baseVal.replaceItem('aString', 0) threw exception TypeError: F
ailed to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'S
VGNumber'.. |
| 73 PASS text1.rotate.baseVal.replaceItem(text1, 0) threw exception TypeError: Faile
d to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNu
mber'.. | 73 PASS text1.rotate.baseVal.replaceItem(text1, 0) threw exception TypeError: Faile
d to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNu
mber'.. |
| 74 PASS text1.rotate.baseVal.replaceItem(null, 0) threw exception TypeError: Failed
to execute 'replaceItem' on 'SVGNumberList': The PassListItemType provided is i
nvalid.. | 74 PASS text1.rotate.baseVal.replaceItem(null, 0) threw exception TypeError: Failed
to execute 'replaceItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNum
ber'.. |
| 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 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 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: Failed to ex
ecute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.. | 118 PASS text1.rotate.baseVal.appendItem(30) threw exception TypeError: Failed to ex
ecute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.. |
| 119 PASS text1.rotate.baseVal.appendItem('aString') threw exception TypeError: Faile
d to execute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNum
ber'.. | 119 PASS text1.rotate.baseVal.appendItem('aString') threw exception TypeError: Faile
d to execute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNum
ber'.. |
| 120 PASS text1.rotate.baseVal.appendItem(text1) threw exception TypeError: Failed to
execute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'
.. | 120 PASS text1.rotate.baseVal.appendItem(text1) threw exception TypeError: Failed to
execute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'
.. |
| 121 PASS text1.rotate.baseVal.appendItem(null) threw exception TypeError: Failed to
execute 'appendItem' on 'SVGNumberList': The PassListItemType provided is invali
d.. | 121 PASS text1.rotate.baseVal.appendItem(null) threw exception TypeError: Failed to
execute 'appendItem' on 'SVGNumberList': parameter 1 is not of type 'SVGNumber'.
. |
| 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 |