Fix internal Apple builds
[WebKit.git] / LayoutTests / fast / url / file-http-base-expected.txt
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 PASS canonicalize('file:c:\\foo\\bar.html') is 'file:///c:/foo/bar.html'
7 PASS canonicalize('  File:c|////foo\\bar.html') is 'file:///c:////foo/bar.html'
8 PASS canonicalize('file:') is 'file:///'
9 PASS canonicalize('file:UNChost/path') is 'file:///UNChost/path'
10 PASS canonicalize('c:\\foo\\bar') is 'c:\\foo\\bar'
11 PASS canonicalize('C|/foo/bar') is 'http://example.com/mock/C|/foo/bar'
12 PASS canonicalize('/C|\\foo\\bar') is 'http://example.com/C|/foo/bar'
13 PASS canonicalize('//C|/foo/bar') is '//C|/foo/bar'
14 PASS canonicalize('//server/file') is 'http://server/file'
15 PASS canonicalize('\\\\server\\file') is 'http://server/file'
16 PASS canonicalize('/\\server/file') is 'http://server/file'
17 PASS canonicalize('file:c:foo/bar.html') is 'file:///c:foo/bar.html'
18 PASS canonicalize('file:/\\/\\C:\\\\//foo\\bar.html') is 'file:////C:////foo/bar.html'
19 PASS canonicalize('file:///foo/bar.txt') is 'file:///foo/bar.txt'
20 PASS canonicalize('FILE:/\\/\\7:\\\\//foo\\bar.html') is 'file:////7:////foo/bar.html'
21 PASS canonicalize('file:filer/home\\me') is 'file:///filer/home/me'
22 PASS canonicalize('file:///C:/foo/../../../bar.html') is 'file:///C:/bar.html'
23 PASS canonicalize('file:///C:/asdf#\xc2') is 'file:///C:/asdf#%C3%82'
24 PASS canonicalize('file:///C:/asdf#Â') is 'file:///C:/asdf#%C3%82'
25 PASS canonicalize('file:///home/me') is 'file:///home/me'
26 PASS canonicalize('file:c:\\foo\\bar.html') is 'file:///c:/foo/bar.html'
27 PASS canonicalize('file:c|//foo\\bar.html') is 'file:///c://foo/bar.html'
28 PASS canonicalize('//') is '//'
29 PASS canonicalize('///') is '///'
30 PASS canonicalize('///test') is 'http://test/'
31 PASS canonicalize('file://test') is 'file://test/'
32 PASS canonicalize('file://localhost') is 'file:///'
33 PASS canonicalize('file://localhost/') is 'file:///'
34 PASS canonicalize('file://localhost/test') is 'file:///test'
35 PASS successfullyParsed is true
36
37 TEST COMPLETE
38