| OLD | NEW |
| 1 This test checks the SVGMatrix API | 1 This test checks the SVGMatrix API |
| 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 | 6 |
| 7 Check initial matrix values | 7 Check initial matrix values |
| 8 PASS matrix.a is 1 | 8 PASS matrix.a is 1 |
| 9 PASS matrix.b is 0 | 9 PASS matrix.b is 0 |
| 10 PASS matrix.c is 0 | 10 PASS matrix.c is 0 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 Check assigning null works as expected | 83 Check assigning null works as expected |
| 84 PASS matrix.f = null is null | 84 PASS matrix.f = null is null |
| 85 PASS matrix.a is 2 | 85 PASS matrix.a is 2 |
| 86 PASS matrix.b is 0 | 86 PASS matrix.b is 0 |
| 87 PASS matrix.c is 0 | 87 PASS matrix.c is 0 |
| 88 PASS matrix.d is 1 | 88 PASS matrix.d is 1 |
| 89 PASS matrix.e is 0 | 89 PASS matrix.e is 0 |
| 90 PASS matrix.f is 0 | 90 PASS matrix.f is 0 |
| 91 | 91 |
| 92 Check calling 'multiply' with invalid arguments | 92 Check calling 'multiply' with invalid arguments |
| 93 PASS matrix.multiply() threw exception TypeError: Not enough arguments. | 93 PASS matrix.multiply() threw exception TypeError: Failed to execute 'multiply' o
n 'SVGMatrix': 1 argument required, but only 0 present.. |
| 94 PASS matrix.multiply(true) threw exception TypeError: Type error. | 94 PASS matrix.multiply(true) threw exception TypeError: Type error. |
| 95 PASS matrix.multiply(2) threw exception TypeError: Type error. | 95 PASS matrix.multiply(2) threw exception TypeError: Type error. |
| 96 PASS matrix.multiply('aString') threw exception TypeError: Type error. | 96 PASS matrix.multiply('aString') threw exception TypeError: Type error. |
| 97 PASS matrix.multiply(svgElement) threw exception TypeError: Type error. | 97 PASS matrix.multiply(svgElement) threw exception TypeError: Type error. |
| 98 | 98 |
| 99 Check calling 'translate' with invalid arguments | 99 Check calling 'translate' with invalid arguments |
| 100 PASS matrix.translate() threw exception TypeError: Not enough arguments. | 100 PASS matrix.translate() threw exception TypeError: Failed to execute 'translate'
on 'SVGMatrix': 2 arguments required, but only 0 present.. |
| 101 PASS matrix.translate(true) threw exception TypeError: Not enough arguments. | 101 PASS matrix.translate(true) threw exception TypeError: Failed to execute 'transl
ate' on 'SVGMatrix': 2 arguments required, but only 1 present.. |
| 102 PASS matrix.translate(2) threw exception TypeError: Not enough arguments. | 102 PASS matrix.translate(2) threw exception TypeError: Failed to execute 'translate
' on 'SVGMatrix': 2 arguments required, but only 1 present.. |
| 103 PASS matrix.translate('aString') threw exception TypeError: Not enough arguments
. | 103 PASS matrix.translate('aString') threw exception TypeError: Failed to execute 't
ranslate' on 'SVGMatrix': 2 arguments required, but only 1 present.. |
| 104 PASS matrix.translate(svgElement) threw exception TypeError: Not enough argument
s. | 104 PASS matrix.translate(svgElement) threw exception TypeError: Failed to execute '
translate' on 'SVGMatrix': 2 arguments required, but only 1 present.. |
| 105 PASS matrix.translate('aString', 'aString') is non-null. | 105 PASS matrix.translate('aString', 'aString') is non-null. |
| 106 PASS matrix.translate(svgElement, svgElement) is non-null. | 106 PASS matrix.translate(svgElement, svgElement) is non-null. |
| 107 PASS matrix.translate(2, 'aString') is non-null. | 107 PASS matrix.translate(2, 'aString') is non-null. |
| 108 PASS matrix.translate(2, svgElement) is non-null. | 108 PASS matrix.translate(2, svgElement) is non-null. |
| 109 PASS matrix.translate('aString', 2) is non-null. | 109 PASS matrix.translate('aString', 2) is non-null. |
| 110 PASS matrix.translate(svgElement, 2) is non-null. | 110 PASS matrix.translate(svgElement, 2) is non-null. |
| 111 | 111 |
| 112 Check calling 'scale' with invalid arguments | 112 Check calling 'scale' with invalid arguments |
| 113 PASS matrix.scale() threw exception TypeError: Not enough arguments. | 113 PASS matrix.scale() threw exception TypeError: Failed to execute 'scale' on 'SVG
Matrix': 1 argument required, but only 0 present.. |
| 114 PASS matrix.scale('aString') is non-null. | 114 PASS matrix.scale('aString') is non-null. |
| 115 PASS matrix.scale(svgElement) is non-null. | 115 PASS matrix.scale(svgElement) is non-null. |
| 116 | 116 |
| 117 Check calling 'scaleNonUniform' with invalid arguments | 117 Check calling 'scaleNonUniform' with invalid arguments |
| 118 PASS matrix.scaleNonUniform() threw exception TypeError: Not enough arguments. | 118 PASS matrix.scaleNonUniform() threw exception TypeError: Failed to execute 'scal
eNonUniform' on 'SVGMatrix': 2 arguments required, but only 0 present.. |
| 119 PASS matrix.scaleNonUniform(true) threw exception TypeError: Not enough argument
s. | 119 PASS matrix.scaleNonUniform(true) threw exception TypeError: Failed to execute '
scaleNonUniform' on 'SVGMatrix': 2 arguments required, but only 1 present.. |
| 120 PASS matrix.scaleNonUniform(2) threw exception TypeError: Not enough arguments. | 120 PASS matrix.scaleNonUniform(2) threw exception TypeError: Failed to execute 'sca
leNonUniform' on 'SVGMatrix': 2 arguments required, but only 1 present.. |
| 121 PASS matrix.scaleNonUniform('aString') threw exception TypeError: Not enough arg
uments. | 121 PASS matrix.scaleNonUniform('aString') threw exception TypeError: Failed to exec
ute 'scaleNonUniform' on 'SVGMatrix': 2 arguments required, but only 1 present.. |
| 122 PASS matrix.scaleNonUniform(svgElement) threw exception TypeError: Not enough ar
guments. | 122 PASS matrix.scaleNonUniform(svgElement) threw exception TypeError: Failed to exe
cute 'scaleNonUniform' on 'SVGMatrix': 2 arguments required, but only 1 present.
. |
| 123 PASS matrix.scaleNonUniform('aString', 'aString') is non-null. | 123 PASS matrix.scaleNonUniform('aString', 'aString') is non-null. |
| 124 PASS matrix.scaleNonUniform(svgElement, svgElement) is non-null. | 124 PASS matrix.scaleNonUniform(svgElement, svgElement) is non-null. |
| 125 PASS matrix.scaleNonUniform(2, 'aString') is non-null. | 125 PASS matrix.scaleNonUniform(2, 'aString') is non-null. |
| 126 PASS matrix.scaleNonUniform(2, svgElement) is non-null. | 126 PASS matrix.scaleNonUniform(2, svgElement) is non-null. |
| 127 PASS matrix.scaleNonUniform('aString', 2) is non-null. | 127 PASS matrix.scaleNonUniform('aString', 2) is non-null. |
| 128 PASS matrix.scaleNonUniform(svgElement, 2) is non-null. | 128 PASS matrix.scaleNonUniform(svgElement, 2) is non-null. |
| 129 | 129 |
| 130 Check calling 'rotate' with invalid arguments | 130 Check calling 'rotate' with invalid arguments |
| 131 PASS matrix.rotate() threw exception TypeError: Not enough arguments. | 131 PASS matrix.rotate() threw exception TypeError: Failed to execute 'rotate' on 'S
VGMatrix': 1 argument required, but only 0 present.. |
| 132 PASS matrix.rotate('aString') is non-null. | 132 PASS matrix.rotate('aString') is non-null. |
| 133 PASS matrix.rotate(svgElement) is non-null. | 133 PASS matrix.rotate(svgElement) is non-null. |
| 134 | 134 |
| 135 Check calling 'rotateFromVector' with invalid arguments | 135 Check calling 'rotateFromVector' with invalid arguments |
| 136 PASS matrix.rotateFromVector() threw exception TypeError: Not enough arguments. | 136 PASS matrix.rotateFromVector() threw exception TypeError: Failed to execute 'rot
ateFromVector' on 'SVGMatrix': 2 arguments required, but only 0 present.. |
| 137 PASS matrix.rotateFromVector(true) threw exception TypeError: Not enough argumen
ts. | 137 PASS matrix.rotateFromVector(true) threw exception TypeError: Failed to execute
'rotateFromVector' on 'SVGMatrix': 2 arguments required, but only 1 present.. |
| 138 PASS matrix.rotateFromVector(2) threw exception TypeError: Not enough arguments. | 138 PASS matrix.rotateFromVector(2) threw exception TypeError: Failed to execute 'ro
tateFromVector' on 'SVGMatrix': 2 arguments required, but only 1 present.. |
| 139 PASS matrix.rotateFromVector('aString') threw exception TypeError: Not enough ar
guments. | 139 PASS matrix.rotateFromVector('aString') threw exception TypeError: Failed to exe
cute 'rotateFromVector' on 'SVGMatrix': 2 arguments required, but only 1 present
.. |
| 140 PASS matrix.rotateFromVector(svgElement) threw exception TypeError: Not enough a
rguments. | 140 PASS matrix.rotateFromVector(svgElement) threw exception TypeError: Failed to ex
ecute 'rotateFromVector' on 'SVGMatrix': 2 arguments required, but only 1 presen
t.. |
| 141 PASS matrix.rotateFromVector('aString', 'aString') is non-null. | 141 PASS matrix.rotateFromVector('aString', 'aString') is non-null. |
| 142 PASS matrix.rotateFromVector(svgElement, svgElement) is non-null. | 142 PASS matrix.rotateFromVector(svgElement, svgElement) is non-null. |
| 143 PASS matrix.rotateFromVector(2, 'aString') is non-null. | 143 PASS matrix.rotateFromVector(2, 'aString') is non-null. |
| 144 PASS matrix.rotateFromVector(2, svgElement) is non-null. | 144 PASS matrix.rotateFromVector(2, svgElement) is non-null. |
| 145 PASS matrix.rotateFromVector('aString', 2) is non-null. | 145 PASS matrix.rotateFromVector('aString', 2) is non-null. |
| 146 PASS matrix.rotateFromVector(svgElement, 2) is non-null. | 146 PASS matrix.rotateFromVector(svgElement, 2) is non-null. |
| 147 | 147 |
| 148 Check calling 'skewX' with invalid arguments | 148 Check calling 'skewX' with invalid arguments |
| 149 PASS matrix.skewX() threw exception TypeError: Not enough arguments. | 149 PASS matrix.skewX() threw exception TypeError: Failed to execute 'skewX' on 'SVG
Matrix': 1 argument required, but only 0 present.. |
| 150 PASS matrix.skewX('aString') is non-null. | 150 PASS matrix.skewX('aString') is non-null. |
| 151 PASS matrix.skewX(svgElement) is non-null. | 151 PASS matrix.skewX(svgElement) is non-null. |
| 152 | 152 |
| 153 Check calling 'skewY' with invalid arguments | 153 Check calling 'skewY' with invalid arguments |
| 154 PASS matrix.skewY() threw exception TypeError: Not enough arguments. | 154 PASS matrix.skewY() threw exception TypeError: Failed to execute 'skewY' on 'SVG
Matrix': 1 argument required, but only 0 present.. |
| 155 PASS matrix.skewY('aString') is non-null. | 155 PASS matrix.skewY('aString') is non-null. |
| 156 PASS matrix.skewY(svgElement) is non-null. | 156 PASS matrix.skewY(svgElement) is non-null. |
| 157 PASS successfullyParsed is true | 157 PASS successfullyParsed is true |
| 158 | 158 |
| 159 TEST COMPLETE | 159 TEST COMPLETE |
| 160 | 160 |
| OLD | NEW |