Skip to content

Commit

Permalink
Bug 1633277 [wpt PR 23256] - URL: Percent encode NULLs in fragments, …
Browse files Browse the repository at this point in the history
…a=testonly

Automatic update from web-platform-tests
URL: percent encode NULLs in fragments

See whatwg/url#440 and whatwg/url#486 for context.
--

wpt-commits: efec8204e84d434d80407bb7cf8df37d33cabaa1
wpt-pr: 23256

UltraBlame original commit: daaf57708f9447f0f68e4caadb80eac9ce03c477
  • Loading branch information
marco-c committed May 3, 2020
1 parent e423500 commit c557e06
Show file tree
Hide file tree
Showing 2 changed files with 387 additions and 3 deletions.
140 changes: 139 additions & 1 deletion testing/web-platform/tests/url/resources/setters_tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -14352,7 +14352,6 @@ percent
-
encoding
;
nuls
tabs
and
newlines
Expand Down Expand Up @@ -14440,6 +14439,8 @@ a
/
#
%
00
%
01
%
1F
Expand Down Expand Up @@ -14507,6 +14508,8 @@ hash
"
#
%
00
%
01
%
1F
Expand Down Expand Up @@ -14575,6 +14578,141 @@ comment
"
:
"
Percent
-
encode
NULLs
in
fragment
"
"
href
"
:
"
http
:
/
/
example
.
net
"
"
new_value
"
:
"
a
\
u0000b
"
"
expected
"
:
{
"
href
"
:
"
http
:
/
/
example
.
net
/
#
a
%
00b
"
"
hash
"
:
"
#
a
%
00b
"
}
}
{
"
comment
"
:
"
Percent
-
encode
NULLs
in
fragment
"
"
href
"
:
"
non
-
spec
:
/
"
"
new_value
"
:
"
a
\
u0000b
"
"
expected
"
:
{
"
href
"
:
"
non
-
spec
:
/
#
a
%
00b
"
"
hash
"
:
"
#
a
%
00b
"
}
}
{
"
comment
"
:
"
Bytes
already
percent
Expand Down
Loading

0 comments on commit c557e06

Please sign in to comment.