1 # Any blank lines and those beginning with # are comments and
2 # ignored. To add additional test cases that could potentially
3 # break URL parsing in mozilla add the input URL on a new line
4 # and follow it with the expected output for the standard URL
5 # parser and one line for the case when the URL is really
6 # created. Then run urltest with the -std option and without it
7 # on this file and hopefully the expected output should match
8 # the one from the program.
9 # - Gagan Saksena 03/28/00
11 # This version is specifically for PC platforms like Windows or OS/2.
12 # It has testcases for the file protocol targeting typical
13 # drive:/path filesystems
16 # testing different versions of file urls
18 file
,,,,-1,/,c
:,,,,,file
:///c
%3A
19 file
,,,,-1,/c
:/,,,,,,file
:///c
:/
22 file
,,,,-1,/c
:/,,,,,,file
:///c
:/
23 file
,,,,-1,/c
:/,,,,,,file
:///c
:/
26 file
,,,,-1,/c
:/,,,,,,file
:///c
:/
27 file
,,,,-1,/c
:/,,,,,,file
:///c
:/
30 file
,,,,-1,/c
:/,,,,,,file
:///c
:/
31 file
,,,,-1,/c
:/,,,,,,file
:///c
:/
34 file
,,,,-1,/c
:/,,,,,,file
:///c
:/
35 file
,,,,-1,/c
:/,,,,,,file
:///c
:/
37 # testing UNC filepaths
39 file
,,,server
,-1,/,path
,,,,,file
://server
/path
40 file
,,,,-1,///server
/,path
,,,,,file
://///server
/path
43 file
,,,,-1,/server
/,path
,,,,,file
:///server
/path
44 file
,,,,-1,///server
/,path
,,,,,file
://///server
/path
47 file
,,,server
,-1,/,path
,,,,,file
://server
/path
48 file
,,,server
,-1,///,path
,,,,,file
://server
///path
51 file
,,,,-1,/server
/,path
,,,,,file
:///server
/path
52 file
,,,,-1,///server
/,path
,,,,,file
://///server
/path
55 file
,,,,-1,//server
/,path
,,,,,file
:////server
/path
56 file
,,,,-1,///server
/,path
,,,,,file
://///server
/path
59 file
,,,,-1,///server
/,path
,,,,,file
://///server
/path
60 file
,,,,-1,///server
/,path
,,,,,file
://///server
/path