Skip to content

Commit

Permalink
Bug 1666826 [wpt PR 25716] - Changes URL tests for file path normalis…
Browse files Browse the repository at this point in the history
…ation 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
  • Loading branch information
alwinb authored and moz-wptsync-bot committed Oct 3, 2020
1 parent 2fd4fff commit 56d4707
Show file tree
Hide file tree
Showing 2 changed files with 188 additions and 61 deletions.
12 changes: 6 additions & 6 deletions testing/web-platform/tests/url/resources/setters_tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -1672,26 +1672,26 @@
"href": "file://monkey/",
"new_value": "\\\\",
"expected": {
"href": "file://monkey/",
"pathname": "/"
"href": "file://monkey//",
"pathname": "//"
}
},
{
"comment": "File URLs and (back)slashes",
"href": "file:///unicorn",
"new_value": "//\\/",
"expected": {
"href": "file:///",
"pathname": "/"
"href": "file://////",
"pathname": "////"
}
},
{
"comment": "File URLs and (back)slashes",
"href": "file:///unicorn",
"new_value": "//monkey/..//",
"expected": {
"href": "file:///",
"pathname": "/"
"href": "file://///",
"pathname": "///"
}
},
{
Expand Down
Loading

0 comments on commit 56d4707

Please sign in to comment.