OLD | NEW |
| (Empty) |
1 Test URLs that have a port number. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 FAIL canonicalize('http://www.example.com:as df/') should be http://www.example.
com:as%20df/. Was http://www.example.com:as df/. | |
7 PASS canonicalize('http://www.example.com:-2/') is 'http://www.example.com:-2/' | |
8 PASS canonicalize('http://www.example.com:80/') is 'http://www.example.com/' | |
9 PASS canonicalize('http://www.example.com:8080/') is 'http://www.example.com:808
0/' | |
10 PASS canonicalize('http://www.example.com:/') is 'http://www.example.com/' | |
11 FAIL canonicalize('http://www.example.com:፩/') should be http://www.example.com:
%E1%8D%A9/. Was http://www.example.com:፩/. | |
12 FAIL canonicalize('http://www.example.com:𝟖/') should be http://www.example.com:
%F0%9D%9F%96/. Was http://www.example.com:𝟖/. | |
13 PASS canonicalize('foobar://www.example.com:80/') is 'foobar://www.example.com:8
0/' | |
14 PASS successfullyParsed is true | |
15 | |
16 TEST COMPLETE | |
17 | |
OLD | NEW |