| OLD | NEW |
| 1 Check that SVGTextContentElement methods' parameters are correctly validated | 1 Check that SVGTextContentElement methods' parameters are correctly validated |
| 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 PASS svgText.getSubStringLength() threw exception TypeError: Not enough argument
s. | 6 PASS svgText.getSubStringLength() threw exception TypeError: Failed to execute '
getSubStringLength' on 'SVGTextContentElement': 2 arguments required, but only 0
present.. |
| 7 PASS svgText.getSubStringLength(2) threw exception TypeError: Not enough argumen
ts. | 7 PASS svgText.getSubStringLength(2) threw exception TypeError: Failed to execute
'getSubStringLength' on 'SVGTextContentElement': 2 arguments required, but only
1 present.. |
| 8 PASS svgText.getStartPositionOfChar() threw exception TypeError: Not enough argu
ments. | 8 PASS svgText.getStartPositionOfChar() threw exception TypeError: Failed to execu
te 'getStartPositionOfChar' on 'SVGTextContentElement': 1 argument required, but
only 0 present.. |
| 9 PASS svgText.getEndPositionOfChar() threw exception TypeError: Not enough argume
nts. | 9 PASS svgText.getEndPositionOfChar() threw exception TypeError: Failed to execute
'getEndPositionOfChar' on 'SVGTextContentElement': 1 argument required, but onl
y 0 present.. |
| 10 PASS svgText.getExtentOfChar() threw exception TypeError: Not enough arguments. | 10 PASS svgText.getExtentOfChar() threw exception TypeError: Failed to execute 'get
ExtentOfChar' on 'SVGTextContentElement': 1 argument required, but only 0 presen
t.. |
| 11 PASS svgText.getRotationOfChar() threw exception TypeError: Not enough arguments
. | 11 PASS svgText.getRotationOfChar() threw exception TypeError: Failed to execute 'g
etRotationOfChar' on 'SVGTextContentElement': 1 argument required, but only 0 pr
esent.. |
| 12 PASS svgText.getCharNumAtPosition() threw exception TypeError: Not enough argume
nts. | 12 PASS svgText.getCharNumAtPosition() threw exception TypeError: Failed to execute
'getCharNumAtPosition' on 'SVGTextContentElement': 1 argument required, but onl
y 0 present.. |
| 13 PASS svgText.selectSubString() threw exception TypeError: Not enough arguments. | 13 PASS svgText.selectSubString() threw exception TypeError: Failed to execute 'sel
ectSubString' on 'SVGTextContentElement': 2 arguments required, but only 0 prese
nt.. |
| 14 PASS svgText.selectSubString(2) threw exception TypeError: Not enough arguments. | 14 PASS svgText.selectSubString(2) threw exception TypeError: Failed to execute 'se
lectSubString' on 'SVGTextContentElement': 2 arguments required, but only 1 pres
ent.. |
| 15 PASS svgText.getSubStringLength(999, 2) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. | 15 PASS svgText.getSubStringLength(999, 2) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. |
| 16 PASS svgText.getStartPositionOfChar(999) threw exception IndexSizeError: Index o
r size was negative, or greater than the allowed value.. | 16 PASS svgText.getStartPositionOfChar(999) threw exception IndexSizeError: Index o
r size was negative, or greater than the allowed value.. |
| 17 PASS svgText.getEndPositionOfChar(999) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. | 17 PASS svgText.getEndPositionOfChar(999) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. |
| 18 PASS svgText.getExtentOfChar(999) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. | 18 PASS svgText.getExtentOfChar(999) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. |
| 19 PASS svgText.getRotationOfChar(999) threw exception IndexSizeError: Index or siz
e was negative, or greater than the allowed value.. | 19 PASS svgText.getRotationOfChar(999) threw exception IndexSizeError: Index or siz
e was negative, or greater than the allowed value.. |
| 20 PASS svgText.selectSubString(999, 2) threw exception IndexSizeError: Index or si
ze was negative, or greater than the allowed value.. | 20 PASS svgText.selectSubString(999, 2) threw exception IndexSizeError: Index or si
ze was negative, or greater than the allowed value.. |
| 21 PASS svgText.getSubStringLength(-4294967294, 2) is svgText.getSubStringLength(2,
2) | 21 PASS svgText.getSubStringLength(-4294967294, 2) is svgText.getSubStringLength(2,
2) |
| 22 PASS actualTestPoint.x is expectedTestPoint.x | 22 PASS actualTestPoint.x is expectedTestPoint.x |
| 23 PASS actualTestPoint.y is expectedTestPoint.y | 23 PASS actualTestPoint.y is expectedTestPoint.y |
| 24 PASS actualTestPoint.x is expectedTestPoint.x | 24 PASS actualTestPoint.x is expectedTestPoint.x |
| (...skipping 13 matching lines...) Expand all Loading... |
| 38 PASS svgText.getSubStringLength(2, 999) is svgText.getSubStringLength(2, 5) | 38 PASS svgText.getSubStringLength(2, 999) is svgText.getSubStringLength(2, 5) |
| 39 PASS svgText.getSubStringLength(2, -1) is svgText.getSubStringLength(2, 5) | 39 PASS svgText.getSubStringLength(2, -1) is svgText.getSubStringLength(2, 5) |
| 40 PASS svgText.getSubStringLength(2, 2) is svgText.getSubStringLength(2, -42949672
94) | 40 PASS svgText.getSubStringLength(2, 2) is svgText.getSubStringLength(2, -42949672
94) |
| 41 PASS svgText.selectSubString(2, 999) did not throw exception. | 41 PASS svgText.selectSubString(2, 999) did not throw exception. |
| 42 PASS svgText.selectSubString(2, -1) did not throw exception. | 42 PASS svgText.selectSubString(2, -1) did not throw exception. |
| 43 PASS svgText.selectSubString(2, -4294967294) did not throw exception. | 43 PASS svgText.selectSubString(2, -4294967294) did not throw exception. |
| 44 PASS successfullyParsed is true | 44 PASS successfullyParsed is true |
| 45 | 45 |
| 46 TEST COMPLETE | 46 TEST COMPLETE |
| 47 abcdefg | 47 abcdefg |
| OLD | NEW |