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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/fuzz-path-parser-expected.txt

Issue 1413953002: Add unit test for SVG path parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop line-wrap. Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/svg/dom/fuzz-path-parser-expected.txt
diff --git a/third_party/WebKit/LayoutTests/svg/dom/fuzz-path-parser-expected.txt b/third_party/WebKit/LayoutTests/svg/dom/fuzz-path-parser-expected.txt
index 7bcec6c0054b1256b48482bc73587676209f3ab4..5fabdb5049a8fc7c67b93bf748535b2b98f75d9e 100644
--- a/third_party/WebKit/LayoutTests/svg/dom/fuzz-path-parser-expected.txt
+++ b/third_party/WebKit/LayoutTests/svg/dom/fuzz-path-parser-expected.txt
@@ -198,9 +198,6 @@ CONSOLE ERROR: Error: Invalid value for <path> attribute d="M1,1A8 5 5,8 4 4 1 s
CONSOLE ERROR: Error: Invalid value for <path> attribute d="M1,1A3,6,9,7,2,7 7,c1 1 1,0 7,7,l1 6 zH0,Zs0 5 0 0 zL8 4 7,zA8,8 5,9 2,6 4,l2 2,L9 4,V"
CONSOLE ERROR: Error: Invalid value for <path> attribute d="M1,1Q2 9,4 1,s6,3 6,9,s6 0,0,6,1 zc2,1 7 0,1 4,Z2 A3,4 5,4,6,8,2 ZV5 t2 6,v8,t9,1 V5 l9,5 s6,9,2 9,T1 9 "
CONSOLE ERROR: Error: Invalid value for <path> attribute d="M1,1a9,2 6 1 2 2 2,za9 0 2 8,2,3,3 s5,8,8 1,HC5 8 5,8,4 2 c8 4 5 2 5 9,l3 9,H7 s6 2,0 0 a4 9,1 6,3,7,0,M6,"
-CONSOLE ERROR: Error: Invalid value for <path> attribute d="M"
-CONSOLE ERROR: Error: Invalid value for <path> attribute d="M\u0000"
-CONSOLE ERROR: Error: Invalid value for <path> attribute d="M1,1Z0"
This test fuzzes the path parser with semi-random attribute values and dumps the results.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
@@ -456,11 +453,6 @@ Parsed as 1 command(s) [M]: M1,1A8 5 5,8 4 4 1 s6 9 4 2,v0,l2 L7,1,L0,3,H8 C7,9
Parsed as 1 command(s) [M]: M1,1A3,6,9,7,2,7 7,c1 1 1,0 7,7,l1 6 zH0,Zs0 5 0 0 zL8 4 7,zA8,8 5,9 2,6 4,l2 2,L9 4,V
Parsed as 4 command(s) [MQss]: M1,1Q2 9,4 1,s6,3 6,9,s6 0,0,6,1 zc2,1 7 0,1 4,Z2 A3,4 5,4,6,8,2 ZV5 t2 6,v8,t9,1 V5 l9,5 s6,9,2 9,T1 9
Parsed as 1 command(s) [M]: M1,1a9,2 6 1 2 2 2,za9 0 2 8,2,3,3 s5,8,8 1,HC5 8 5,8,4 2 c8 4 5 2 5 9,l3 9,H7 s6 2,0 0 a4 9,1 6,3,7,0,M6,
-Could not parse:
-Could not parse:
-Could not parse: M
-Could not parse: M
-Parsed as 2 command(s) [MZ]: M1,1Z0
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « third_party/WebKit/LayoutTests/svg/dom/fuzz-path-parser.html ('k') | third_party/WebKit/LayoutTests/svg/dom/path-parser.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698