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

Side by Side Diff: LayoutTests/fast/url/file-http-base-expected.txt

Issue 14146002: Remove all generic expected results for which a generic Chromium expected result exists (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 | « LayoutTests/fast/url/anchor-expected.txt ('k') | LayoutTests/fast/url/host-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Canonicalization of file URLs when the base URL is an http URL
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 FAIL canonicalize('file:c:\\foo\\bar.html') should be file:///C:/foo/bar.html. W as file://c:/foo/bar.html.
7 FAIL canonicalize(' File:c|////foo\\bar.html') should be file:///C:////foo/bar. html. Was file://c|////foo/bar.html.
8 PASS canonicalize('file:') is 'file:///'
9 FAIL canonicalize('file:UNChost/path') should be file://unchost/path. Was file:/ /UNChost/path.
10 FAIL canonicalize('c:\\foo\\bar') should be file:///C:/foo/bar. Was c:/foo/bar.
11 FAIL canonicalize('C|/foo/bar') should be file:///C:/foo/bar. Was http://example .com/mock/C|/foo/bar.
12 FAIL canonicalize('/C|\\foo\\bar') should be file:///C:/foo/bar. Was http://exam ple.com/C|/foo/bar.
13 FAIL canonicalize('//C|/foo/bar') should be file:///C:/foo/bar. Was //C|/foo/bar .
14 FAIL canonicalize('//server/file') should be file://server/file. Was http://serv er/file.
15 FAIL canonicalize('\\\\server\\file') should be file://server/file. Was http://s erver/file.
16 FAIL canonicalize('/\\server/file') should be file://server/file. Was http://ser ver/file.
17 FAIL canonicalize('file:c:foo/bar.html') should be file:///C:/foo/bar.html. Was file://c:foo/bar.html.
18 FAIL canonicalize('file:/\\/\\C:\\\\//foo\\bar.html') should be file:///C:////fo o/bar.html. Was file:////C:////foo/bar.html.
19 PASS canonicalize('file:///foo/bar.txt') is 'file:///foo/bar.txt'
20 FAIL canonicalize('FILE:/\\/\\7:\\\\//foo\\bar.html') should be file://7:////foo /bar.html. Was file:////7:////foo/bar.html.
21 PASS canonicalize('file:filer/home\\me') is 'file://filer/home/me'
22 FAIL canonicalize('file:///C:/foo/../../../bar.html') should be file:///C:/bar.h tml. Was file:///bar.html.
23 FAIL canonicalize('file:///C:/asdf#\xc2') should be file:///C:/asdf#Â. Was file: ///C:/asdf#%C2.
24 FAIL canonicalize('file:///C:/asdf#Â') should be file:///C:/asdf#Â. Was file:/// C:/asdf#%C2.
25 PASS canonicalize('file:///home/me') is 'file:///home/me'
26 FAIL canonicalize('file:c:\\foo\\bar.html') should be file:///c:/foo/bar.html. W as file://c:/foo/bar.html.
27 FAIL canonicalize('file:c|//foo\\bar.html') should be file:///c%7C//foo/bar.html . Was file://c|//foo/bar.html.
28 FAIL canonicalize('//') should be file:///. Was http:/.
29 FAIL canonicalize('///') should be file:///. Was http:/.
30 FAIL canonicalize('///test') should be file:///test. Was http:/test.
31 PASS canonicalize('file://test') is 'file://test/'
32 FAIL canonicalize('file://localhost') should be file://localhost/. Was file:///.
33 FAIL canonicalize('file://localhost/') should be file://localhost/. Was file:/// .
34 FAIL canonicalize('file://localhost/test') should be file://localhost/test. Was file:///test.
35 PASS successfullyParsed is true
36
37 TEST COMPLETE
38
OLDNEW
« no previous file with comments | « LayoutTests/fast/url/anchor-expected.txt ('k') | LayoutTests/fast/url/host-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698