Skip to content

Commit

Permalink
align with allowing empty path for non-special URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Jan 10, 2017
1 parent 0648206 commit 19ee073
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions url/urltestdata.json
Original file line number Diff line number Diff line change
Expand Up @@ -553,15 +553,15 @@
{
"input": "foo://",
"base": "http://example.org/foo/bar",
"href": "foo:///",
"href": "foo://",
"origin": "null",
"protocol": "foo:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "/",
"pathname": "",
"search": "",
"hash": ""
},
Expand Down Expand Up @@ -4360,30 +4360,30 @@
{
"input": "#x",
"base": "sc://ñ",
"href": "sc://%C3%B1/#x",
"href": "sc://%C3%B1#x",
"origin": "null",
"protocol": "sc:",
"username": "",
"password": "",
"host": "%C3%B1",
"hostname": "%C3%B1",
"port": "",
"pathname": "/",
"pathname": "",
"search": "",
"hash": "#x"
},
{
"input": "?x",
"base": "sc://ñ",
"href": "sc://%C3%B1/?x",
"href": "sc://%C3%B1?x",
"origin": "null",
"protocol": "sc:",
"username": "",
"password": "",
"host": "%C3%B1",
"hostname": "%C3%B1",
"port": "",
"pathname": "/",
"pathname": "",
"search": "?x",
"hash": ""
},
Expand Down Expand Up @@ -4797,28 +4797,28 @@
{
"input": "sc://?",
"base": "about:blank",
"href": "sc:///?",
"href": "sc://?",
"protocol": "sc:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "/",
"pathname": "",
"search": "",
"hash": ""
},
{
"input": "sc://#",
"base": "about:blank",
"href": "sc:///#",
"href": "sc://#",
"protocol": "sc:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "/",
"pathname": "",
"search": "",
"hash": ""
}
Expand Down

0 comments on commit 19ee073

Please sign in to comment.