summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/loader/url-parse-1-expected.txt
blob: 82a674a13774f1da13c073476670d6c6a7c39895 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
The following table shows how URLs are parsed and canonicalized. The base URI for this document is file:///BASE/.

URL	href	host	pathname
file:///BASE/		/BASE/
test	file:///BASE/test		/BASE/test
/	file:///		/
/test	file:///test		/test
//	file:///		/
//test	file://test/	test	/
///	file:///		/
///test	file:///test		/test
file:	file:///BASE/		/BASE/
file:test	file:///BASE/test		/BASE/test
file:/	file:///		/
file:/test	file:///test		/test
file://	file:///		/
file://test	file://test/	test	/
file:///	file:///		/
file:///test	file:///test		/test
file://localhost	file://localhost/	localhost	/
file://localhost/	file://localhost/	localhost	/
file://localhost/test	file://localhost/test	localhost	/test
http:	http:		
http:/	http:		
http://	http:		
http:///	http:		
http:////	http:		
http://localhost	http://localhost/	localhost	/
http://localhost/	http://localhost/	localhost	/
http://localhost/test	http://localhost/test	localhost	/test
x-webkit:	x-webkit:		
x-webkit:test	x-webkit:test		test
x-webkit:/	x-webkit:/		/
x-webkit:/test	x-webkit:/test		/test
x-webkit://	x-webkit://		//
x-webkit://test	x-webkit://test		//test
x-webkit:///	x-webkit:///		///
x-webkit:///test	x-webkit:///test		///test