netwerk/test/urlparse_win.dat

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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
    10 # 
    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
    14 #
    16 # testing different versions of file urls
    17 file:c:
    18 file,,,,-1,/,c:,,,,,file:///c%3A
    19 file,,,,-1,/c:/,,,,,,file:///c:/
    21 file:c:/
    22 file,,,,-1,/c:/,,,,,,file:///c:/
    23 file,,,,-1,/c:/,,,,,,file:///c:/
    25 file:/c:/
    26 file,,,,-1,/c:/,,,,,,file:///c:/
    27 file,,,,-1,/c:/,,,,,,file:///c:/
    29 file://c:/
    30 file,,,,-1,/c:/,,,,,,file:///c:/
    31 file,,,,-1,/c:/,,,,,,file:///c:/
    33 file:///c:/
    34 file,,,,-1,/c:/,,,,,,file:///c:/
    35 file,,,,-1,/c:/,,,,,,file:///c:/
    37 # testing UNC filepaths
    38 file:server/path
    39 file,,,server,-1,/,path,,,,,file://server/path
    40 file,,,,-1,///server/,path,,,,,file://///server/path
    42 file:/server/path
    43 file,,,,-1,/server/,path,,,,,file:///server/path
    44 file,,,,-1,///server/,path,,,,,file://///server/path
    46 file://server/path
    47 file,,,server,-1,/,path,,,,,file://server/path
    48 file,,,server,-1,///,path,,,,,file://server///path
    50 file:///server/path
    51 file,,,,-1,/server/,path,,,,,file:///server/path
    52 file,,,,-1,///server/,path,,,,,file://///server/path
    54 file:////server/path
    55 file,,,,-1,//server/,path,,,,,file:////server/path
    56 file,,,,-1,///server/,path,,,,,file://///server/path
    58 file://///server/path
    59 file,,,,-1,///server/,path,,,,,file://///server/path
    60 file,,,,-1,///server/,path,,,,,file://///server/path

mercurial