Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: LayoutTests/svg/custom/getSubStringLength-expected.txt

Issue 22798002: Make SVGTextContentElement methods behave consistently with Firefox and IE (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix nits Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/svg/custom/script-tests/getSubStringLength.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 PASS svgText.getSubStringLength(-1, 2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 1 PASS svgText.getSubStringLength(-1, 2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
2 PASS svgText.getSubStringLength(-1, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 2 PASS svgText.getSubStringLength(-1, 0) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
3 PASS svgText.getSubStringLength(1, 3) is 40 3 PASS svgText.getSubStringLength(1, 3) is 40
4 PASS svgText.getSubStringLength(0, 4) is 60 4 PASS svgText.getSubStringLength(0, 4) is 60
5 PASS svgText.getSubStringLength(3, 0) threw exception IndexSizeError: Index or s ize was negative, or greater than the allowed value.. 5 PASS svgText.getSubStringLength(3, 0) threw exception IndexSizeError: Index or s ize was negative, or greater than the allowed value..
6 PASS svgText.getSubStringLength(0, 0) is 0 6 PASS svgText.getSubStringLength(0, 0) is 0
7 PASS svgText.getSubStringLength(2, 0) is 0 7 PASS svgText.getSubStringLength(2, 0) is 0
8 PASS svgText.getSubStringLength(0, 1) is 20 8 PASS svgText.getSubStringLength(0, 1) is 20
9 PASS svgText.getSubStringLength(1, 1) is 20 9 PASS svgText.getSubStringLength(1, 1) is 20
10 PASS svgText.getSubStringLength(2, 1) is 20 10 PASS svgText.getSubStringLength(2, 1) is 20
11 PASS svgText.getSubStringLength(0, 3) is 60 11 PASS svgText.getSubStringLength(0, 3) is 60
12 PASS svgText.getSubStringLength(1, -1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 12 PASS svgText.getSubStringLength(1, -1) did not throw exception.
13 PASS svgText.getSubStringLength(2, -1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 13 PASS svgText.getSubStringLength(2, -1) did not throw exception.
14 PASS svgText.getSubStringLength(3, -1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 14 PASS svgText.getSubStringLength(3, -1) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
15 PASS svgText.getSubStringLength(3, -3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value.. 15 PASS svgText.getSubStringLength(3, -3) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
16 PASS successfullyParsed is true 16 PASS successfullyParsed is true
17 17
18 TEST COMPLETE 18 TEST COMPLETE
19 19
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/custom/script-tests/getSubStringLength.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698