| Index: LayoutTests/svg/text/svgtextcontentelement-methods-parameters-expected.txt
|
| diff --git a/LayoutTests/svg/text/svgtextcontentelement-methods-parameters-expected.txt b/LayoutTests/svg/text/svgtextcontentelement-methods-parameters-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bc44412fb844ab34fe1b5c0cf4488193e59d8441
|
| --- /dev/null
|
| +++ b/LayoutTests/svg/text/svgtextcontentelement-methods-parameters-expected.txt
|
| @@ -0,0 +1,47 @@
|
| +Check that SVGTextContentElement methods' parameters are correctly validated
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +PASS svgText.getSubStringLength() threw exception TypeError: Not enough arguments.
|
| +PASS svgText.getSubStringLength(2) threw exception TypeError: Not enough arguments.
|
| +PASS svgText.getStartPositionOfChar() threw exception TypeError: Not enough arguments.
|
| +PASS svgText.getEndPositionOfChar() threw exception TypeError: Not enough arguments.
|
| +PASS svgText.getExtentOfChar() threw exception TypeError: Not enough arguments.
|
| +PASS svgText.getRotationOfChar() threw exception TypeError: Not enough arguments.
|
| +PASS svgText.getCharNumAtPosition() threw exception TypeError: Not enough arguments.
|
| +PASS svgText.selectSubString() threw exception TypeError: Not enough arguments.
|
| +PASS svgText.selectSubString(2) threw exception TypeError: Not enough arguments.
|
| +PASS svgText.getSubStringLength(999, 2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
| +PASS svgText.getStartPositionOfChar(999) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
| +PASS svgText.getEndPositionOfChar(999) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
| +PASS svgText.getExtentOfChar(999) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
| +PASS svgText.getRotationOfChar(999) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
| +PASS svgText.selectSubString(999, 2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
| +PASS svgText.getSubStringLength(-4294967294, 2) is svgText.getSubStringLength(2, 2)
|
| +PASS actual_point.x is expected_point.x
|
| +PASS actual_point.y is expected_point.y
|
| +PASS actual_point.x is expected_point.x
|
| +PASS actual_point.y is expected_point.y
|
| +PASS actual_rect.x is expected_rect.x
|
| +PASS actual_rect.y is expected_rect.y
|
| +PASS actual_rect.width is expected_rect.width
|
| +PASS actual_rect.height is expected_rect.height
|
| +PASS svgText.getRotationOfChar(-4294967294) is svgText.getRotationOfChar(2)
|
| +PASS svgText.selectSubString(-4294967294, 2) did not throw exception.
|
| +PASS svgText.getSubStringLength(-1, 2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
| +PASS svgText.getStartPositionOfChar(-1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
| +PASS svgText.getEndPositionOfChar(-1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
| +PASS svgText.getExtentOfChar(-1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
| +PASS svgText.getRotationOfChar(-1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
| +PASS svgText.selectSubString(-1, 2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
| +PASS svgText.getSubStringLength(2, 999) is svgText.getSubStringLength(2, 5)
|
| +PASS svgText.getSubStringLength(2, -1) is svgText.getSubStringLength(2, 5)
|
| +PASS svgText.getSubStringLength(2, 2) is svgText.getSubStringLength(2, -4294967294)
|
| +PASS svgText.selectSubString(2, 999) did not throw exception.
|
| +PASS svgText.selectSubString(2, -1) did not throw exception.
|
| +PASS svgText.selectSubString(2, -4294967294) did not throw exception.
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +abcdefg
|
|
|