2010-12-14 Cosmin Truta <ctruta@chromium.org>
[WebKit-https.git] / LayoutTests / platform / chromium-win / fast / url / host-expected.txt
1 Canonicalization of host names.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS canonicalize('http://GoOgLe.CoM/') is 'http://google.com/'
7 PASS canonicalize('http://Goo%20 goo%7C|.com/') is 'http://goo%20%20goo%7C%7C.com/'
8 PASS canonicalize('http://GOO  goo.com/') is 'http://goo%20%20goo.com/'
9 PASS canonicalize('http://GOO​⁠goo.com/') is 'http://googoo.com/'
10 PASS canonicalize('http://www.foo。bar.com/') is 'http://www.foo.bar.com/'
11 PASS canonicalize('http://﷐zyx.com/') is 'http://%EF%BF%BDzyx.com/'
12 PASS canonicalize('http://%ef%b7%90zyx.com/') is 'http://%EF%BF%BDzyx.com/'
13 PASS canonicalize('http://Go.com/') is 'http://go.com/'
14 PASS canonicalize('http://%41.com/') is 'http://a.com/'
15 PASS canonicalize('http://%ef%bc%85%ef%bc%94%ef%bc%91.com/') is 'http://a.com/'
16 PASS canonicalize('http://%00.com/') is 'http://%00.com/'
17 PASS canonicalize('http://%ef%bc%85%ef%bc%90%ef%bc%90.com/') is 'http://%00.com/'
18 PASS canonicalize('http://你好你好/') is 'http://xn--6qqa088eba/'
19 PASS canonicalize('http://%E4%BD%A0%E5%A5%BD你好/') is 'http://xn--6qqa088eba/'
20 PASS canonicalize('http://%zz%66%a/') is 'http://%25zzf%25a/'
21 PASS canonicalize('http://%25/') is 'http://%25/'
22 PASS canonicalize('http://hello%00/') is 'http://hello%00/'
23 PASS canonicalize('http://%30%78%63%30%2e%30%32%35%30.01/') is 'http://192.168.0.1/'
24 PASS canonicalize('http://%30%78%63%30%2e%30%32%35%30.01%2e/') is 'http://192.168.0.1/'
25 PASS canonicalize('http://%3g%78%63%30%2e%30%32%35%30%2E.01/') is 'http://%253gxc0.0250..01/'
26 PASS canonicalize('http://192.168.0.1 hello/') is 'http://192.168.0.1%20hello/'
27 PASS canonicalize('http://0Xc0.0250.01/') is 'http://192.168.0.1/'
28 PASS canonicalize('http://192.168.0.257/') is 'http://192.168.0.257/'
29 PASS canonicalize('http://[google.com]/') is 'http://[google.com]/'
30 PASS canonicalize('http://т(/') is 'http://xn--%28-7ed/'
31 PASS successfullyParsed is true
32
33 TEST COMPLETE
34