Skip to content

Commit a23788b

Browse files
valentingmoz-wptsync-bot
authored andcommitted
Test
Differential Revision: https://phabricator.services.mozilla.com/D235147 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1942820 gecko-commit: 76ecd4fd31b3e0a9426a3436d24ff8c190a7624e gecko-reviewers: necko-reviewers, kershaw
1 parent bcf47bd commit a23788b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

url/resources/urltestdata.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3137,6 +3137,21 @@
31373137
"search": "",
31383138
"hash": ""
31393139
},
3140+
{
3141+
"input": "https://example.com/aaa/bbb/%2e%2e?query",
3142+
"base": null,
3143+
"href": "https://example.com/aaa/?query",
3144+
"origin": "https://example.com",
3145+
"protocol": "https:",
3146+
"username": "",
3147+
"password": "",
3148+
"host": "example.com",
3149+
"hostname": "example.com",
3150+
"port": "",
3151+
"pathname": "/aaa/",
3152+
"search": "?query",
3153+
"hash": ""
3154+
},
31403155
"# Based on http://trac.webkit.org/browser/trunk/LayoutTests/fast/url/segments-userinfo-vs-host.html",
31413156
{
31423157
"input": "http:@www.example.com",

0 commit comments

Comments
 (0)