Skip to content

Commit e3c46fd

Browse files
authored
url: more drive letter quirk coverage
Firefox 145 fails both. Chromium 143 fails the second.
1 parent 3e32b1b commit e3c46fd

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

url/resources/urltestdata.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6835,6 +6835,34 @@
68356835
"search": "",
68366836
"hash": ""
68376837
},
6838+
{
6839+
"input": "..",
6840+
"base": "abc://x/y/z/C:/",
6841+
"href": "abc://x/y/z/",
6842+
"protocol": "abc:",
6843+
"username": "",
6844+
"password": "",
6845+
"hostname": "x",
6846+
"port": "",
6847+
"host": "x",
6848+
"pathname": "/y/z/",
6849+
"search": "",
6850+
"hash": ""
6851+
},
6852+
{
6853+
"input": "..",
6854+
"base": "file://x/C:/",
6855+
"href": "file://x/C:/",
6856+
"protocol": "file:",
6857+
"username": "",
6858+
"password": "",
6859+
"hostname": "x",
6860+
"port": "",
6861+
"host": "x",
6862+
"pathname": "/C:/",
6863+
"search": "",
6864+
"hash": ""
6865+
},
68386866
"# Do not drop the host in the presence of a drive letter",
68396867
{
68406868
"input": "file://example.net/C:/",

0 commit comments

Comments
 (0)