Skip to content

Commit

Permalink
Import related wpt setters test
Browse files Browse the repository at this point in the history
  • Loading branch information
CYBAI committed Mar 5, 2023
1 parent 83c19dd commit 9c16caa
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions url/tests/setters_tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,39 @@
"protocol": "https:",
"port": ""
}
},
{
"comment": "Non-tab/newline C0 controls result in no-op",
"href": "http://test/",
"new_value": "https\u0000",
"expected": {
"href": "http://test/",
"protocol": "http:"
}
},
{
"href": "http://test/",
"new_value": "https\u000C",
"expected": {
"href": "http://test/",
"protocol": "http:"
}
},
{
"href": "http://test/",
"new_value": "https\u000E",
"expected": {
"href": "http://test/",
"protocol": "http:"
}
},
{
"href": "http://test/",
"new_value": "https\u0020",
"expected": {
"href": "http://test/",
"protocol": "http:"
}
}
],
"username": [
Expand Down

0 comments on commit 9c16caa

Please sign in to comment.