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: Failed to execute '
getSubStringLength' on 'SVGTextContentElement': 2 arguments required, but only 0
present.. | 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: Failed to execute
'getSubStringLength' on 'SVGTextContentElement': 2 arguments required, but only
1 present.. | 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: Failed to execu
te 'getStartPositionOfChar' on 'SVGTextContentElement': 1 argument required, but
only 0 present.. | 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: Failed to execute
'getEndPositionOfChar' on 'SVGTextContentElement': 1 argument required, but onl
y 0 present.. | 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: Failed to execute 'get
ExtentOfChar' on 'SVGTextContentElement': 1 argument required, but only 0 presen
t.. | 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: Failed to execute 'g
etRotationOfChar' on 'SVGTextContentElement': 1 argument required, but only 0 pr
esent.. | 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: Failed to execute
'getCharNumAtPosition' on 'SVGTextContentElement': 1 argument required, but onl
y 0 present.. | 12 PASS svgText.getCharNumAtPosition() threw exception TypeError: Failed to execute
'getCharNumAtPosition' on 'SVGTextContentElement': 1 argument required, but onl
y 0 present.. |
13 PASS svgText.getCharNumAtPosition('aString') threw exception TypeError: Failed t
o execute 'getCharNumAtPosition' on 'SVGTextContentElement': parameter 1 is not
of type 'SVGPoint'.. | 13 FAIL svgText.getCharNumAtPosition('aString') should throw TypeError: Failed to e
xecute 'getCharNumAtPosition' on 'SVGTextContentElement': parameter 1 is not of
type 'SVGPoint'.. Threw exception TypeError: Failed to execute 'getCharNumAtPosi
tion' on 'SVGTextContentElement': The argument can't be null.. |
14 PASS svgText.getCharNumAtPosition(svgText) threw exception TypeError: Failed to
execute 'getCharNumAtPosition' on 'SVGTextContentElement': parameter 1 is not of
type 'SVGPoint'.. | 14 FAIL svgText.getCharNumAtPosition(svgText) should throw TypeError: Failed to exe
cute 'getCharNumAtPosition' on 'SVGTextContentElement': parameter 1 is not of ty
pe 'SVGPoint'.. Threw exception TypeError: Failed to execute 'getCharNumAtPositi
on' on 'SVGTextContentElement': The argument can't be null.. |
15 PASS svgText.selectSubString() threw exception TypeError: Failed to execute 'sel
ectSubString' on 'SVGTextContentElement': 2 arguments required, but only 0 prese
nt.. | 15 PASS svgText.selectSubString() threw exception TypeError: Failed to execute 'sel
ectSubString' on 'SVGTextContentElement': 2 arguments required, but only 0 prese
nt.. |
16 PASS svgText.selectSubString(2) threw exception TypeError: Failed to execute 'se
lectSubString' on 'SVGTextContentElement': 2 arguments required, but only 1 pres
ent.. | 16 PASS svgText.selectSubString(2) threw exception TypeError: Failed to execute 'se
lectSubString' on 'SVGTextContentElement': 2 arguments required, but only 1 pres
ent.. |
17 PASS svgText.getSubStringLength(999, 2) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. | 17 PASS svgText.getSubStringLength(999, 2) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. |
18 PASS svgText.getStartPositionOfChar(999) threw exception IndexSizeError: Index o
r size was negative, or greater than the allowed value.. | 18 PASS svgText.getStartPositionOfChar(999) threw exception IndexSizeError: Index o
r size was negative, or greater than the allowed value.. |
19 PASS svgText.getEndPositionOfChar(999) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. | 19 PASS svgText.getEndPositionOfChar(999) threw exception IndexSizeError: Index or
size was negative, or greater than the allowed value.. |
20 PASS svgText.getExtentOfChar(999) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. | 20 PASS svgText.getExtentOfChar(999) threw exception IndexSizeError: Index or size
was negative, or greater than the allowed value.. |
21 PASS svgText.getRotationOfChar(999) threw exception IndexSizeError: Index or siz
e was negative, or greater than the allowed value.. | 21 PASS svgText.getRotationOfChar(999) threw exception IndexSizeError: Index or siz
e was negative, or greater than the allowed value.. |
22 PASS svgText.selectSubString(999, 2) threw exception IndexSizeError: Index or si
ze was negative, or greater than the allowed value.. | 22 PASS svgText.selectSubString(999, 2) threw exception IndexSizeError: Index or si
ze was negative, or greater than the allowed value.. |
23 PASS svgText.getSubStringLength(-4294967294, 2) is svgText.getSubStringLength(2,
2) | 23 PASS svgText.getSubStringLength(-4294967294, 2) is svgText.getSubStringLength(2,
2) |
24 PASS actualTestPoint.x is expectedTestPoint.x | 24 PASS actualTestPoint.x is expectedTestPoint.x |
(...skipping 15 matching lines...) Expand all Loading... |
40 PASS svgText.getSubStringLength(2, 999) is svgText.getSubStringLength(2, 5) | 40 PASS svgText.getSubStringLength(2, 999) is svgText.getSubStringLength(2, 5) |
41 PASS svgText.getSubStringLength(2, -1) is svgText.getSubStringLength(2, 5) | 41 PASS svgText.getSubStringLength(2, -1) is svgText.getSubStringLength(2, 5) |
42 PASS svgText.getSubStringLength(2, 2) is svgText.getSubStringLength(2, -42949672
94) | 42 PASS svgText.getSubStringLength(2, 2) is svgText.getSubStringLength(2, -42949672
94) |
43 PASS svgText.selectSubString(2, 999) did not throw exception. | 43 PASS svgText.selectSubString(2, 999) did not throw exception. |
44 PASS svgText.selectSubString(2, -1) did not throw exception. | 44 PASS svgText.selectSubString(2, -1) did not throw exception. |
45 PASS svgText.selectSubString(2, -4294967294) did not throw exception. | 45 PASS svgText.selectSubString(2, -4294967294) did not throw exception. |
46 PASS successfullyParsed is true | 46 PASS successfullyParsed is true |
47 | 47 |
48 TEST COMPLETE | 48 TEST COMPLETE |
49 abcdefg | 49 abcdefg |
OLD | NEW |