COMMIT_MESSAGE (4/4)

 12011-06-15 Tim Horton <timothy_horton@apple.com>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 Errors encountered within SVG documents should be reported to the console
 6 https://bugs.webkit.org/show_bug.cgi?id=62599
 7
 8 Adjust SVG error tests to expect new console output on unexpected input.

LayoutTests/ChangeLog

 12011-06-15 Tim Horton <timothy_horton@apple.com>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 Errors encountered within SVG documents should be reported to the console
 6 https://bugs.webkit.org/show_bug.cgi?id=62599
 7
 8 Adjust SVG error tests to expect new console output on unexpected input.
 9
 10 * platform/mac/svg/hixie/error/001-expected.txt:
 11 * platform/mac/svg/hixie/error/007-expected.txt:
 12 * platform/mac/svg/hixie/error/013-expected.txt:
 13 * platform/mac/svg/hixie/error/015-expected.txt:
 14 * svg/custom/invalid-length-units-expected.txt:
 15 * svg/custom/svg-parse-overflow-1-expected.txt:
 16 * svg/custom/svg-parse-overflow-2-expected.txt:
 17 * svg/custom/svg-parse-overflow-3-expected.txt:
 18 * svg/custom/svg-parse-overflow-4-expected.txt:
 19 * svg/custom/svg-parse-overflow-5-expected.txt:
 20
1212011-06-15 Ryosuke Niwa <rniwa@webkit.org>
222
323 Reviewed by Alexey Proskuryakov.

LayoutTests/platform/mac/svg/hixie/error/001-expected.txt

 1CONSOLE MESSAGE: line 3: Error: Invalid value for <circle> attribute r="r"
12layer at (0,0) size 800x600
23 RenderView at (0,0) size 800x600
34layer at (0,0) size 800x600

LayoutTests/platform/mac/svg/hixie/error/007-expected.txt

1 CONSOLE MESSAGE: line 4: Error: A negative value for rect <width> is not allowed
 1CONSOLE MESSAGE: line 4: Error: Invalid negative value for <rect> attribute width="-200"
22layer at (0,0) size 800x600
33 RenderView at (0,0) size 800x600
44layer at (0,0) size 800x600

LayoutTests/platform/mac/svg/hixie/error/013-expected.txt

1 CONSOLE MESSAGE: line 10: Error: A negative value for svg attribute <width> is not allowed
 1CONSOLE MESSAGE: line 10: Error: Invalid negative value for <svg> attribute width="-100"
22layer at (0,0) size 800x600
33 RenderView at (0,0) size 800x600
44layer at (0,0) size 800x100

LayoutTests/platform/mac/svg/hixie/error/015-expected.txt

 1CONSOLE MESSAGE: line 6: Error: Invalid value for <rect> attribute width=" 300"
12layer at (0,0) size 800x600
23 RenderView at (0,0) size 800x600
34layer at (0,0) size 300x200

LayoutTests/svg/custom/invalid-length-units-expected.txt

 1CONSOLE MESSAGE: line 9: Error: Invalid value for <rect> attribute x=" "
 2CONSOLE MESSAGE: line 9: Error: Invalid value for <rect> attribute x="foo"
 3CONSOLE MESSAGE: line 9: Error: Invalid value for <rect> attribute x="10foo"
 4CONSOLE MESSAGE: line 9: Error: Invalid value for <rect> attribute x="px"
 5CONSOLE MESSAGE: line 9: Error: Invalid value for <rect> attribute x="10px "
 6CONSOLE MESSAGE: line 9: Error: Invalid value for <rect> attribute x="10% "
 7CONSOLE MESSAGE: line 9: Error: Invalid value for <rect> attribute x="10 % "
 8CONSOLE MESSAGE: line 9: Error: Invalid value for <rect> attribute x="10 %"
 9CONSOLE MESSAGE: line 9: Error: Invalid value for <rect> attribute x="10 px "
 10CONSOLE MESSAGE: line 9: Error: Invalid value for <rect> attribute x="10 px"
111Tests handling of invalid SVG length units.
212
313On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

LayoutTests/svg/custom/svg-parse-overflow-1-expected.txt

 1CONSOLE MESSAGE: line 8: Error: Invalid value for <foreignObject> attribute y="105000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
12

LayoutTests/svg/custom/svg-parse-overflow-2-expected.txt

 1CONSOLE MESSAGE: line 8: Error: Invalid value for <rect> attribute height="-105000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
12

LayoutTests/svg/custom/svg-parse-overflow-3-expected.txt

 1CONSOLE MESSAGE: line 13: Error: Invalid value for <rect> attribute height="105000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
12

LayoutTests/svg/custom/svg-parse-overflow-4-expected.txt

 1CONSOLE MESSAGE: line 8: Error: Invalid value for <foreignObject> attribute y="105.0e50"
12

LayoutTests/svg/custom/svg-parse-overflow-5-expected.txt

 1CONSOLE MESSAGE: line 8: Error: Invalid value for <foreignObject> attribute y="105.0e5000000000000000000000000000000000000000000000000000"
12
2 -
331.7.4.4
44