Skip to content

Commit

Permalink
File URL reparse tests
Browse files Browse the repository at this point in the history
See whatwg/url#549 for context.
  • Loading branch information
rmisev authored Oct 8, 2020
1 parent e1415cf commit 33e4ac0
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion url/resources/urltestdata.json
Original file line number Diff line number Diff line change
Expand Up @@ -6091,7 +6091,7 @@
"base": "about:blank",
"failure": true
},
"# Additional file URL tetsts for (https://github.com/whatwg/url/issues/405)",
"# Additional file URL tests for (https://github.com/whatwg/url/issues/405)",
{
"input": "file://localhost//a//../..//foo",
"base": "about:blank",
Expand Down Expand Up @@ -6218,6 +6218,35 @@
"search": "",
"hash": ""
},
"File URL tests for https://github.com/whatwg/url/issues/549",
{
"input": "file:.//p",
"base": "about:blank",
"href": "file:////p",
"protocol": "file:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "//p",
"search": "",
"hash": ""
},
{
"input": "file:/.//p",
"base": "about:blank",
"href": "file:////p",
"protocol": "file:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "//p",
"search": "",
"hash": ""
},
"# IPv6 tests",
{
"input": "http://[1:0::]",
Expand Down

0 comments on commit 33e4ac0

Please sign in to comment.