Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 6e819fc

Browse files
alwinbmoz-wptsync-bot
authored andcommitted
Bug 1666826 [wpt PR 25716] - Changes URL tests for file path normalisation proposal, a=testonly
Automatic update from web-platform-tests Changes URL tests for file path normalization proposal For whatwg/url#544. -- wpt-commits: 050308a616a8388f1ad5d6e87eac0270fd35023f wpt-pr: 25716
1 parent 3b7da14 commit 6e819fc

2 files changed

Lines changed: 188 additions & 61 deletions

File tree

testing/web-platform/tests/url/resources/setters_tests.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,26 +1672,26 @@
16721672
"href": "file://monkey/",
16731673
"new_value": "\\\\",
16741674
"expected": {
1675-
"href": "file://monkey/",
1676-
"pathname": "/"
1675+
"href": "file://monkey//",
1676+
"pathname": "//"
16771677
}
16781678
},
16791679
{
16801680
"comment": "File URLs and (back)slashes",
16811681
"href": "file:///unicorn",
16821682
"new_value": "//\\/",
16831683
"expected": {
1684-
"href": "file:///",
1685-
"pathname": "/"
1684+
"href": "file://////",
1685+
"pathname": "////"
16861686
}
16871687
},
16881688
{
16891689
"comment": "File URLs and (back)slashes",
16901690
"href": "file:///unicorn",
16911691
"new_value": "//monkey/..//",
16921692
"expected": {
1693-
"href": "file:///",
1694-
"pathname": "/"
1693+
"href": "file://///",
1694+
"pathname": "///"
16951695
}
16961696
},
16971697
{

0 commit comments

Comments
 (0)