| OLD | NEW |
| 1 ABC | 1 ABC |
| 2 This is a test of the simple SVGLengthList API parts. | 2 This is a test of the simple SVGLengthList 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.x.baseVal != text1.x.animVal is true | 7 PASS text1.x.baseVal != text1.x.animVal is true |
| 8 PASS text1.x.baseVal.numberOfItems is 3 | 8 PASS text1.x.baseVal.numberOfItems is 3 |
| 9 PASS text1.x.animVal.numberOfItems is 3 | 9 PASS text1.x.animVal.numberOfItems is 3 |
| 10 PASS text1.x.baseVal.getItem(0).value is 500 | 10 PASS text1.x.baseVal.getItem(0).value is 500 |
| 11 PASS text1.x.baseVal.getItem(1).value is 1000 | 11 PASS text1.x.baseVal.getItem(1).value is 1000 |
| 12 PASS text1.x.baseVal.getItem(2).value is 1500 | 12 PASS text1.x.baseVal.getItem(2).value is 1500 |
| 13 | 13 |
| 14 Test uncommon arguments for initialize() | 14 Test uncommon arguments for initialize() |
| 15 PASS text1.x.baseVal.initialize(30) threw exception TypeError: Failed to execute
'initialize' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.. | 15 PASS text1.x.baseVal.initialize(30) threw exception TypeError: Failed to execute
'initialize' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.. |
| 16 PASS text1.x.baseVal.initialize('aString') threw exception TypeError: Failed to
execute 'initialize' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.
. | 16 PASS text1.x.baseVal.initialize('aString') threw exception TypeError: Failed to
execute 'initialize' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.
. |
| 17 PASS text1.x.baseVal.initialize(text1) threw exception TypeError: Failed to exec
ute 'initialize' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.. | 17 PASS text1.x.baseVal.initialize(text1) threw exception TypeError: Failed to exec
ute 'initialize' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.. |
| 18 PASS text1.x.baseVal.initialize(null) threw exception TypeError: Type error. | 18 PASS text1.x.baseVal.initialize(null) threw exception TypeError: Failed to execu
te 'initialize' on 'SVGLengthList': Lists must be initialized with a valid item.
. |
| 19 | 19 |
| 20 Test uncommon arguments for getItem() | 20 Test uncommon arguments for getItem() |
| 21 PASS text1.x.baseVal.getItem(30) threw exception IndexSizeError: Index or size w
as negative, or greater than the allowed value.. | 21 PASS text1.x.baseVal.getItem(30) threw exception IndexSizeError: Index or size w
as negative, or greater than the allowed value.. |
| 22 PASS text1.x.baseVal.getItem('aString') is text1.x.baseVal.getItem(0) | 22 FAIL text1.x.baseVal.getItem('aString') should be [object SVGLength]. Was [objec
t SVGLength]. |
| 23 PASS text1.x.baseVal.getItem(text1) is text1.x.baseVal.getItem(0) | 23 FAIL text1.x.baseVal.getItem(text1) should be [object SVGLength]. Was [object SV
GLength]. |
| 24 PASS text1.x.baseVal.getItem(null) is text1.x.baseVal.getItem(0) | 24 FAIL text1.x.baseVal.getItem(null) should be [object SVGLength]. Was [object SVG
Length]. |
| 25 | 25 |
| 26 Test uncommon arguments for insertItemBefore() | 26 Test uncommon arguments for insertItemBefore() |
| 27 PASS text1.x.baseVal.insertItemBefore(30) threw exception TypeError: Failed to e
xecute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only 1 p
resent.. | 27 PASS text1.x.baseVal.insertItemBefore(30) threw exception TypeError: Failed to e
xecute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only 1 p
resent.. |
| 28 PASS text1.x.baseVal.insertItemBefore('aString') threw exception TypeError: Fail
ed to execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but o
nly 1 present.. | 28 PASS text1.x.baseVal.insertItemBefore('aString') threw exception TypeError: Fail
ed to execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but o
nly 1 present.. |
| 29 PASS text1.x.baseVal.insertItemBefore(text1) threw exception TypeError: Failed t
o execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only
1 present.. | 29 PASS text1.x.baseVal.insertItemBefore(text1) threw exception TypeError: Failed t
o execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only
1 present.. |
| 30 PASS text1.x.baseVal.insertItemBefore(null) threw exception TypeError: Failed to
execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only 1
present.. | 30 PASS text1.x.baseVal.insertItemBefore(null) threw exception TypeError: Failed to
execute 'insertItemBefore' on 'SVGLengthList': 2 arguments required, but only 1
present.. |
| 31 PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), 'aString') is
text1.x.baseVal.getItem(0) | 31 FAIL text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), 'aString') sho
uld be [object SVGLength]. Was [object SVGLength]. |
| 32 PASS text1.x.baseVal.numberOfItems is 3 | 32 PASS text1.x.baseVal.numberOfItems is 3 |
| 33 PASS text1.x.baseVal.getItem(0).value is 1000 | 33 PASS text1.x.baseVal.getItem(0).value is 1000 |
| 34 PASS text1.x.baseVal.getItem(1).value is 500 | 34 PASS text1.x.baseVal.getItem(1).value is 500 |
| 35 PASS text1.x.baseVal.getItem(2).value is 1500 | 35 PASS text1.x.baseVal.getItem(2).value is 1500 |
| 36 PASS text1.getAttribute('x') is "1000 500 1500" | 36 PASS text1.getAttribute('x') is "1000 500 1500" |
| 37 PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), text1) is text
1.x.baseVal.getItem(0) | 37 FAIL text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), text1) should
be [object SVGLength]. Was [object SVGLength]. |
| 38 PASS text1.x.baseVal.numberOfItems is 3 | 38 PASS text1.x.baseVal.numberOfItems is 3 |
| 39 PASS text1.x.baseVal.getItem(0).value is 500 | 39 PASS text1.x.baseVal.getItem(0).value is 500 |
| 40 PASS text1.x.baseVal.getItem(1).value is 1000 | 40 PASS text1.x.baseVal.getItem(1).value is 1000 |
| 41 PASS text1.x.baseVal.getItem(2).value is 1500 | 41 PASS text1.x.baseVal.getItem(2).value is 1500 |
| 42 PASS text1.getAttribute('x') is "500 1000 1500" | 42 PASS text1.getAttribute('x') is "500 1000 1500" |
| 43 PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), null) is text1
.x.baseVal.getItem(0) | 43 FAIL text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), null) should b
e [object SVGLength]. Was [object SVGLength]. |
| 44 PASS text1.x.baseVal.numberOfItems is 3 | 44 PASS text1.x.baseVal.numberOfItems is 3 |
| 45 PASS text1.x.baseVal.getItem(0).value is 1000 | 45 PASS text1.x.baseVal.getItem(0).value is 1000 |
| 46 PASS text1.x.baseVal.getItem(1).value is 500 | 46 PASS text1.x.baseVal.getItem(1).value is 500 |
| 47 PASS text1.x.baseVal.getItem(2).value is 1500 | 47 PASS text1.x.baseVal.getItem(2).value is 1500 |
| 48 PASS text1.getAttribute('x') is "1000 500 1500" | 48 PASS text1.getAttribute('x') is "1000 500 1500" |
| 49 PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), 0) is text1.x.
baseVal.getItem(0) | 49 FAIL text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), 0) should be [
object SVGLength]. Was [object SVGLength]. |
| 50 PASS text1.x.baseVal.numberOfItems is 3 | 50 PASS text1.x.baseVal.numberOfItems is 3 |
| 51 PASS text1.x.baseVal.getItem(0).value is 500 | 51 PASS text1.x.baseVal.getItem(0).value is 500 |
| 52 PASS text1.x.baseVal.getItem(1).value is 1000 | 52 PASS text1.x.baseVal.getItem(1).value is 1000 |
| 53 PASS text1.x.baseVal.getItem(2).value is 1500 | 53 PASS text1.x.baseVal.getItem(2).value is 1500 |
| 54 PASS text1.getAttribute('x') is "500 1000 1500" | 54 PASS text1.getAttribute('x') is "500 1000 1500" |
| 55 PASS text1.x.baseVal.insertItemBefore(30, 0) threw exception TypeError: Failed t
o execute 'insertItemBefore' on 'SVGLengthList': parameter 1 is not of type 'SVG
Length'.. | 55 PASS text1.x.baseVal.insertItemBefore(30, 0) threw exception TypeError: Failed t
o execute 'insertItemBefore' on 'SVGLengthList': parameter 1 is not of type 'SVG
Length'.. |
| 56 PASS text1.x.baseVal.insertItemBefore('aString', 0) threw exception TypeError: F
ailed to execute 'insertItemBefore' on 'SVGLengthList': parameter 1 is not of ty
pe 'SVGLength'.. | 56 PASS text1.x.baseVal.insertItemBefore('aString', 0) threw exception TypeError: F
ailed to execute 'insertItemBefore' on 'SVGLengthList': parameter 1 is not of ty
pe 'SVGLength'.. |
| 57 PASS text1.x.baseVal.insertItemBefore(text1, 0) threw exception TypeError: Faile
d to execute 'insertItemBefore' on 'SVGLengthList': parameter 1 is not of type '
SVGLength'.. | 57 PASS text1.x.baseVal.insertItemBefore(text1, 0) threw exception TypeError: Faile
d to execute 'insertItemBefore' on 'SVGLengthList': parameter 1 is not of type '
SVGLength'.. |
| 58 PASS text1.x.baseVal.insertItemBefore(null, 0) threw exception TypeError: Type e
rror. | 58 PASS text1.x.baseVal.insertItemBefore(null, 0) threw exception TypeError: Failed
to execute 'insertItemBefore' on 'SVGLengthList': Failed to execute 'insertItem
Before' on 'SVGLengthList': An invalid item cannot be inserted to a list.. |
| 59 | 59 |
| 60 Set x='1 2 3 4' for text1 | 60 Set x='1 2 3 4' for text1 |
| 61 PASS text1.setAttribute('x', '1 2 3 4') is undefined. | 61 PASS text1.setAttribute('x', '1 2 3 4') is undefined. |
| 62 | 62 |
| 63 Test edge cases for insertItemBefore() | 63 Test edge cases for insertItemBefore() |
| 64 PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(3), 3) is text1.x.
baseVal.getItem(3) | 64 FAIL text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(3), 3) should be [
object SVGLength]. Was [object SVGLength]. |
| 65 PASS text1.getAttribute('x') is "1 2 3 4" | 65 PASS text1.getAttribute('x') is "1 2 3 4" |
| 66 PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), 5) is text1.x.
baseVal.getItem(3) | 66 FAIL text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), 5) should be [
object SVGLength]. Was [object SVGLength]. |
| 67 PASS text1.getAttribute('x') is "1 3 4 2" | 67 PASS text1.getAttribute('x') is "1 3 4 2" |
| 68 PASS text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), 0) is text1.x.
baseVal.getItem(0) | 68 FAIL text1.x.baseVal.insertItemBefore(text1.x.baseVal.getItem(1), 0) should be [
object SVGLength]. Was [object SVGLength]. |
| 69 PASS text1.getAttribute('x') is "3 1 4 2" | 69 PASS text1.getAttribute('x') is "3 1 4 2" |
| 70 | 70 |
| 71 Set x='1 2 3 4' for text1 | 71 Set x='1 2 3 4' for text1 |
| 72 PASS text1.setAttribute('x', '1 2 3 4') is undefined. | 72 PASS text1.setAttribute('x', '1 2 3 4') is undefined. |
| 73 PASS text1.x.baseVal.numberOfItems is 4 | 73 PASS text1.x.baseVal.numberOfItems is 4 |
| 74 PASS text1.x.baseVal.getItem(0).value is 1 | 74 PASS text1.x.baseVal.getItem(0).value is 1 |
| 75 PASS text1.x.baseVal.getItem(1).value is 2 | 75 PASS text1.x.baseVal.getItem(1).value is 2 |
| 76 PASS text1.x.baseVal.getItem(2).value is 3 | 76 PASS text1.x.baseVal.getItem(2).value is 3 |
| 77 PASS text1.x.baseVal.getItem(3).value is 4 | 77 PASS text1.x.baseVal.getItem(3).value is 4 |
| 78 PASS text1.getAttribute('x') is "1 2 3 4" | 78 PASS text1.getAttribute('x') is "1 2 3 4" |
| 79 | 79 |
| 80 Test uncommon arguments for replaceItem() | 80 Test uncommon arguments for replaceItem() |
| 81 PASS text1.x.baseVal.replaceItem(30) threw exception TypeError: Failed to execut
e 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present.. | 81 PASS text1.x.baseVal.replaceItem(30) threw exception TypeError: Failed to execut
e 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present.. |
| 82 PASS text1.x.baseVal.replaceItem('aString') threw exception TypeError: Failed to
execute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 pres
ent.. | 82 PASS text1.x.baseVal.replaceItem('aString') threw exception TypeError: Failed to
execute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 pres
ent.. |
| 83 PASS text1.x.baseVal.replaceItem(text1) threw exception TypeError: Failed to exe
cute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present.
. | 83 PASS text1.x.baseVal.replaceItem(text1) threw exception TypeError: Failed to exe
cute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present.
. |
| 84 PASS text1.x.baseVal.replaceItem(null) threw exception TypeError: Failed to exec
ute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present.. | 84 PASS text1.x.baseVal.replaceItem(null) threw exception TypeError: Failed to exec
ute 'replaceItem' on 'SVGLengthList': 2 arguments required, but only 1 present.. |
| 85 PASS text1.x.baseVal.replaceItem(30, 0) threw exception TypeError: Failed to exe
cute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.. | 85 PASS text1.x.baseVal.replaceItem(30, 0) threw exception TypeError: Failed to exe
cute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.. |
| 86 PASS text1.x.baseVal.replaceItem('aString', 0) threw exception TypeError: Failed
to execute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLen
gth'.. | 86 PASS text1.x.baseVal.replaceItem('aString', 0) threw exception TypeError: Failed
to execute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLen
gth'.. |
| 87 PASS text1.x.baseVal.replaceItem(text1, 0) threw exception TypeError: Failed to
execute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'
.. | 87 PASS text1.x.baseVal.replaceItem(text1, 0) threw exception TypeError: Failed to
execute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'
.. |
| 88 PASS text1.x.baseVal.replaceItem(null, 0) threw exception TypeError: Type error. | 88 PASS text1.x.baseVal.replaceItem(null, 0) threw exception TypeError: Failed to e
xecute 'replaceItem' on 'SVGLengthList': Failed to execute 'replaceItem' on 'SVG
LengthList': An invalid item cannot be replaced with an existing list item.. |
| 89 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 0) is text1.x.baseV
al.getItem(0) | 89 FAIL text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 0) should be [objec
t SVGLength]. Was [object SVGLength]. |
| 90 PASS text1.x.baseVal.numberOfItems is 4 | 90 PASS text1.x.baseVal.numberOfItems is 4 |
| 91 PASS text1.x.baseVal.getItem(0).value is 1 | 91 PASS text1.x.baseVal.getItem(0).value is 1 |
| 92 PASS text1.x.baseVal.getItem(1).value is 2 | 92 PASS text1.x.baseVal.getItem(1).value is 2 |
| 93 PASS text1.x.baseVal.getItem(2).value is 3 | 93 PASS text1.x.baseVal.getItem(2).value is 3 |
| 94 PASS text1.x.baseVal.getItem(3).value is 4 | 94 PASS text1.x.baseVal.getItem(3).value is 4 |
| 95 PASS text1.getAttribute('x') is "1 2 3 4" | 95 PASS text1.getAttribute('x') is "1 2 3 4" |
| 96 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 'aString') is text1
.x.baseVal.getItem(0) | 96 FAIL text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 'aString') should b
e [object SVGLength]. Was [object SVGLength]. |
| 97 PASS text1.x.baseVal.numberOfItems is 4 | 97 PASS text1.x.baseVal.numberOfItems is 4 |
| 98 PASS text1.x.baseVal.getItem(0).value is 1 | 98 PASS text1.x.baseVal.getItem(0).value is 1 |
| 99 PASS text1.x.baseVal.getItem(1).value is 2 | 99 PASS text1.x.baseVal.getItem(1).value is 2 |
| 100 PASS text1.x.baseVal.getItem(2).value is 3 | 100 PASS text1.x.baseVal.getItem(2).value is 3 |
| 101 PASS text1.x.baseVal.getItem(3).value is 4 | 101 PASS text1.x.baseVal.getItem(3).value is 4 |
| 102 PASS text1.getAttribute('x') is "1 2 3 4" | 102 PASS text1.getAttribute('x') is "1 2 3 4" |
| 103 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), text1) is text1.x.b
aseVal.getItem(0) | 103 FAIL text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), text1) should be [o
bject SVGLength]. Was [object SVGLength]. |
| 104 PASS text1.x.baseVal.numberOfItems is 4 | 104 PASS text1.x.baseVal.numberOfItems is 4 |
| 105 PASS text1.getAttribute('x') is "1 2 3 4" | 105 PASS text1.getAttribute('x') is "1 2 3 4" |
| 106 | 106 |
| 107 Set x='1 2 3 4' for text1 | 107 Set x='1 2 3 4' for text1 |
| 108 PASS text1.setAttribute('x', '1 2 3 4') is undefined. | 108 PASS text1.setAttribute('x', '1 2 3 4') is undefined. |
| 109 | 109 |
| 110 Test edge cases for replaceItem() | 110 Test edge cases for replaceItem() |
| 111 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(3), 3) is text1.x.baseV
al.getItem(3) | 111 FAIL text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(3), 3) should be [objec
t SVGLength]. Was [object SVGLength]. |
| 112 PASS text1.x.baseVal.numberOfItems is 4 | 112 PASS text1.x.baseVal.numberOfItems is 4 |
| 113 PASS text1.getAttribute('x') is "1 2 3 4" | 113 PASS text1.getAttribute('x') is "1 2 3 4" |
| 114 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(1), 3) is text1.x.baseV
al.getItem(2) | 114 FAIL text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(1), 3) should be [objec
t SVGLength]. Was [object SVGLength]. |
| 115 PASS text1.x.baseVal.numberOfItems is 3 | 115 PASS text1.x.baseVal.numberOfItems is 3 |
| 116 PASS text1.getAttribute('x') is "1 3 2" | 116 PASS text1.getAttribute('x') is "1 3 2" |
| 117 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(3), 4) threw exception
IndexSizeError: Index or size was negative, or greater than the allowed value.. | 117 PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(3), 4) threw exception
IndexSizeError: Index or size was negative, or greater than the allowed value.. |
| 118 | 118 |
| 119 Set x='1 2 3 4' for text1 | 119 Set x='1 2 3 4' for text1 |
| 120 PASS text1.setAttribute('x', '1 2 3 4') is undefined. | 120 PASS text1.setAttribute('x', '1 2 3 4') is undefined. |
| 121 | 121 |
| 122 Test uncommon arguments for removeItem() | 122 Test uncommon arguments for removeItem() |
| 123 PASS text1.x.baseVal.removeItem(30) threw exception IndexSizeError: Index or siz
e was negative, or greater than the allowed value.. | 123 PASS text1.x.baseVal.removeItem(30) threw exception IndexSizeError: Index or siz
e was negative, or greater than the allowed value.. |
| 124 PASS text1.x.baseVal.removeItem(0).value is 1 | 124 PASS text1.x.baseVal.removeItem(0).value is 1 |
| 125 PASS text1.x.baseVal.numberOfItems is 3 | 125 PASS text1.x.baseVal.numberOfItems is 3 |
| 126 PASS text1.x.baseVal.getItem(0).value is 2 | 126 PASS text1.x.baseVal.getItem(0).value is 2 |
| 127 PASS text1.x.baseVal.getItem(1).value is 3 | 127 PASS text1.x.baseVal.getItem(1).value is 3 |
| 128 PASS text1.x.baseVal.getItem(2).value is 4 | 128 PASS text1.x.baseVal.getItem(2).value is 4 |
| 129 PASS text1.getAttribute('x') is "2 3 4" | 129 PASS text1.getAttribute('x') is "2 3 4" |
| 130 PASS text1.x.baseVal.removeItem(text1).value is 2 | 130 PASS text1.x.baseVal.removeItem(text1).value is 2 |
| 131 PASS text1.x.baseVal.numberOfItems is 2 | 131 PASS text1.x.baseVal.numberOfItems is 2 |
| 132 PASS text1.x.baseVal.getItem(0).value is 3 | 132 PASS text1.x.baseVal.getItem(0).value is 3 |
| 133 PASS text1.x.baseVal.getItem(1).value is 4 | 133 PASS text1.x.baseVal.getItem(1).value is 4 |
| 134 PASS text1.getAttribute('x') is "3 4" | 134 PASS text1.getAttribute('x') is "3 4" |
| 135 | 135 |
| 136 Test uncommon arguments for appendItem() | 136 Test uncommon arguments for appendItem() |
| 137 PASS text1.x.baseVal.appendItem(30) threw exception TypeError: Failed to execute
'appendItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.. | 137 PASS text1.x.baseVal.appendItem(30) threw exception TypeError: Failed to execute
'appendItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.. |
| 138 PASS text1.x.baseVal.appendItem('aString') threw exception TypeError: Failed to
execute 'appendItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.
. | 138 PASS text1.x.baseVal.appendItem('aString') threw exception TypeError: Failed to
execute 'appendItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.
. |
| 139 PASS text1.x.baseVal.appendItem(text1) threw exception TypeError: Failed to exec
ute 'appendItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.. | 139 PASS text1.x.baseVal.appendItem(text1) threw exception TypeError: Failed to exec
ute 'appendItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'.. |
| 140 PASS text1.x.baseVal.appendItem(null) threw exception TypeError: Type error. | 140 PASS text1.x.baseVal.appendItem(null) threw exception TypeError: Failed to execu
te 'appendItem' on 'SVGLengthList': Failed to execute 'appendItem' on 'SVGLength
List': An invalid item cannot be appended to a list.. |
| 141 | 141 |
| 142 Testing animVal clear throws | 142 Testing animVal clear throws |
| 143 PASS text1.x.animVal.clear() threw exception NoModificationAllowedError: An atte
mpt was made to modify an object where modifications are not allowed.. | 143 PASS text1.x.animVal.clear() threw exception NoModificationAllowedError: Failed
to execute 'clear' on 'SVGLengthList': Failed to execute 'clear' on 'SVGLengthLi
st': The object is read-only.. |
| 144 PASS text1.x.baseVal.clear() is undefined. | 144 PASS text1.x.baseVal.clear() is undefined. |
| 145 PASS successfullyParsed is true | 145 PASS successfullyParsed is true |
| 146 | 146 |
| 147 TEST COMPLETE | 147 TEST COMPLETE |
| 148 | 148 |
| OLD | NEW |