Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: update web platform tests
  • Loading branch information
anonrig authored and github-actions[bot] committed Oct 19, 2024
commit 149cd73eed1472090b163b6d6b3e2fa40ca2d374
96 changes: 96 additions & 0 deletions tests/wpt/urltestdata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9992,5 +9992,101 @@
"pathname": "/",
"search": "",
"hash": ""
},
"# Non-special URL and backslashes",
{
"input": "non-special:\\\\opaque",
"base": null,
"href": "non-special:\\\\opaque",
"origin": "null",
"protocol": "non-special:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "\\\\opaque",
"search": "",
"hash": ""
},
{
"input": "non-special:\\\\opaque/path",
"base": null,
"href": "non-special:\\\\opaque/path",
"origin": "null",
"protocol": "non-special:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "\\\\opaque/path",
"search": "",
"hash": ""
},
{
"input": "non-special:\\\\opaque\\path",
"base": null,
"href": "non-special:\\\\opaque\\path",
"origin": "null",
"protocol": "non-special:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "\\\\opaque\\path",
"search": "",
"hash": ""
},
{
"input": "non-special:\\/opaque",
"base": null,
"href": "non-special:\\/opaque",
"origin": "null",
"protocol": "non-special:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "\\/opaque",
"search": "",
"hash": ""
},
{
"input": "non-special:/\\path",
"base": null,
"href": "non-special:/\\path",
"origin": "null",
"protocol": "non-special:",
"username": "",
"password": "",
"host": "",
"hostname": "",
"port": "",
"pathname": "/\\path",
"search": "",
"hash": ""
},
{
"input": "non-special://host\\a",
"base": null,
"failure": true
},
{
"input": "non-special://host/a\\b",
"base": null,
"href": "non-special://host/a\\b",
"origin": "null",
"protocol": "non-special:",
"username": "",
"password": "",
"host": "host",
"hostname": "host",
"port": "",
"pathname": "/a\\b",
"search": "",
"hash": ""
}
]