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

Side by Side Diff: LayoutTests/platform/linux/fast/url/segments-from-data-url-expected.txt

Issue 184223007: Fix segments-from-data-url.js to PASS instead of just updating expected FAIL lines. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 9 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
OLDNEW
1 Test URL segmentation 1 Test URL segmentation
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 segments('http://user:pass@foo:21/bar;par?b#c') is '["http:","foo","21","/b ar;par","?b","#c"]' 6 PASS segments('http://user:pass@foo:21/bar;par?b#c') is '["http:","foo","21","/b ar;par","?b","#c"]'
7 PASS segments('http:foo.com') is '["http:","foo.com","","/","",""]' 7 PASS segments('http:foo.com') is '["http:","foo.com","","/","",""]'
8 PASS segments('\t :foo.com \n') is '[":","","","","",""]' 8 PASS segments('\t :foo.com \n') is '[":","","","","",""]'
9 PASS segments(' foo.com ') is '[":","","","","",""]' 9 PASS segments(' foo.com ') is '[":","","","","",""]'
10 PASS segments('a:\t foo.com') is '["a:","",""," foo.com","",""]' 10 PASS segments('a:\t foo.com') is '["a:","",""," foo.com","",""]'
(...skipping 17 matching lines...) Expand all
28 PASS segments(':/') is '[":","","","","",""]' 28 PASS segments(':/') is '[":","","","","",""]'
29 PASS segments(':\\') is '[":","","","","",""]' 29 PASS segments(':\\') is '[":","","","","",""]'
30 PASS segments(':#') is '[":","","","","",""]' 30 PASS segments(':#') is '[":","","","","",""]'
31 PASS segments('#') is '["data:","","","text/plain,baseURL","",""]' 31 PASS segments('#') is '["data:","","","text/plain,baseURL","",""]'
32 PASS segments('#/') is '["data:","","","text/plain,baseURL","","#/"]' 32 PASS segments('#/') is '["data:","","","text/plain,baseURL","","#/"]'
33 PASS segments('#\\') is '["data:","","","text/plain,baseURL","","#\\\\"]' 33 PASS segments('#\\') is '["data:","","","text/plain,baseURL","","#\\\\"]'
34 PASS segments('#;?') is '["data:","","","text/plain,baseURL","","#;?"]' 34 PASS segments('#;?') is '["data:","","","text/plain,baseURL","","#;?"]'
35 PASS segments('?') is '[":","","","","",""]' 35 PASS segments('?') is '[":","","","","",""]'
36 PASS segments('/') is '[":","","","","",""]' 36 PASS segments('/') is '[":","","","","",""]'
37 PASS segments(':23') is '[":","","","","",""]' 37 PASS segments(':23') is '[":","","","","",""]'
38 FAIL segments('/:23') should be ["data:","","","/:23","",""]. Was [":","","","", "",""]. 38 PASS segments('/:23') is '[":","","","","",""]'
39 PASS segments('//') is '[":","","","","",""]' 39 PASS segments('//') is '[":","","","","",""]'
40 PASS segments('::') is '[":","","","","",""]' 40 PASS segments('::') is '[":","","","","",""]'
41 PASS segments('::23') is '[":","","","","",""]' 41 PASS segments('::23') is '[":","","","","",""]'
42 PASS segments('foo://') is '["foo:","","","//","",""]' 42 PASS segments('foo://') is '["foo:","","","//","",""]'
43 PASS segments('http://a:b@c:29/d') is '["http:","c","29","/d","",""]' 43 PASS segments('http://a:b@c:29/d') is '["http:","c","29","/d","",""]'
44 PASS segments('http::@c:29') is '["http:","c","29","/","",""]' 44 PASS segments('http::@c:29') is '["http:","c","29","/","",""]'
45 PASS segments('http://&a:foo(b]c@d:2/') is '["http:","d","2","/","",""]' 45 PASS segments('http://&a:foo(b]c@d:2/') is '["http:","d","2","/","",""]'
46 PASS segments('http://::@c@d:2') is '["http:","d","2","/","",""]' 46 PASS segments('http://::@c@d:2') is '["http:","d","2","/","",""]'
47 PASS segments('http://foo.com:b@d/') is '["http:","d","","/","",""]' 47 PASS segments('http://foo.com:b@d/') is '["http:","d","","/","",""]'
48 PASS segments('http://foo.com/\\@') is '["http:","foo.com","","//@","",""]' 48 PASS segments('http://foo.com/\\@') is '["http:","foo.com","","//@","",""]'
49 PASS segments('http:\\\\foo.com\\') is '["http:","foo.com","","/","",""]' 49 PASS segments('http:\\\\foo.com\\') is '["http:","foo.com","","/","",""]'
50 PASS segments('http:\\\\a\\b:c\\d@foo.com\\') is '["http:","a","","/b:c/d@foo.co m/","",""]' 50 PASS segments('http:\\\\a\\b:c\\d@foo.com\\') is '["http:","a","","/b:c/d@foo.co m/","",""]'
51 PASS segments('foo:/') is '["foo:","","","/","",""]' 51 PASS segments('foo:/') is '["foo:","","","/","",""]'
52 PASS segments('foo:/bar.com/') is '["foo:","","","/bar.com/","",""]' 52 PASS segments('foo:/bar.com/') is '["foo:","","","/bar.com/","",""]'
53 PASS segments('foo://///////') is '["foo:","","","/////////","",""]' 53 PASS segments('foo://///////') is '["foo:","","","/////////","",""]'
54 PASS segments('foo://///////bar.com/') is '["foo:","","","/////////bar.com/","", ""]' 54 PASS segments('foo://///////bar.com/') is '["foo:","","","/////////bar.com/","", ""]'
55 PASS segments('foo:////://///') is '["foo:","","","////://///","",""]' 55 PASS segments('foo:////://///') is '["foo:","","","////://///","",""]'
56 PASS segments('c:/foo') is '["c:","","","/foo","",""]' 56 PASS segments('c:/foo') is '["c:","","","/foo","",""]'
57 PASS segments('//foo/bar') is '[":","","","","",""]' 57 PASS segments('//foo/bar') is '[":","","","","",""]'
58 PASS segments('http://foo/path;a??e#f#g') is '["http:","foo","","/path;a","??e", "#f#g"]' 58 PASS segments('http://foo/path;a??e#f#g') is '["http:","foo","","/path;a","??e", "#f#g"]'
59 PASS segments('http://foo/abcd?efgh?ijkl') is '["http:","foo","","/abcd","?efgh? ijkl",""]' 59 PASS segments('http://foo/abcd?efgh?ijkl') is '["http:","foo","","/abcd","?efgh? ijkl",""]'
60 PASS segments('http://foo/abcd#foo?bar') is '["http:","foo","","/abcd","","#foo? bar"]' 60 PASS segments('http://foo/abcd#foo?bar') is '["http:","foo","","/abcd","","#foo? bar"]'
61 FAIL segments('[61:24:74]:98') should be ["data:","","","text/[61:24:74]:98","", ""]. Was [":","","","","",""]. 61 PASS segments('[61:24:74]:98') is '[":","","","","",""]'
62 PASS segments('http://[61:27]:98') is '[":","","0","","",""]' 62 PASS segments('http://[61:27]:98') is '[":","","0","","",""]'
63 PASS segments('http:[61:27]/:foo') is '[":","","","","",""]' 63 PASS segments('http:[61:27]/:foo') is '[":","","","","",""]'
64 FAIL segments('http://[1::2]:3:4') should be [":","","","","",""]. Was [":",""," 0","","",""]. 64 FAIL segments('http://[1::2]:3:4') should be [":","","","","",""]. Was [":",""," 0","","",""].
65 FAIL segments('http://2001::1') should be [":","","","","",""]. Was [":","","0", "","",""]. 65 FAIL segments('http://2001::1') should be [":","","","","",""]. Was [":","","0", "","",""].
66 PASS segments('http://[2001::1') is '[":","","","","",""]' 66 PASS segments('http://[2001::1') is '[":","","","","",""]'
67 PASS segments('http://2001::1]') is '[":","","","","",""]' 67 PASS segments('http://2001::1]') is '[":","","","","",""]'
68 PASS segments('http://2001::1]:80') is '[":","","","","",""]' 68 PASS segments('http://2001::1]:80') is '[":","","","","",""]'
69 PASS segments('http://[2001::1]') is '["http:","[2001::1]","","/","",""]' 69 PASS segments('http://[2001::1]') is '["http:","[2001::1]","","/","",""]'
70 PASS segments('http://[2001::1]:80') is '["http:","[2001::1]","","/","",""]' 70 PASS segments('http://[2001::1]:80') is '["http:","[2001::1]","","/","",""]'
71 PASS segments('http://[[::]]') is '[":","","","","",""]' 71 PASS segments('http://[[::]]') is '[":","","","","",""]'
72 PASS successfullyParsed is true 72 PASS successfullyParsed is true
73 73
74 TEST COMPLETE 74 TEST COMPLETE
75 75
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698