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: 650ec6f46c2e17f43b3448bd91f3616e1622e3d9
  • Loading branch information
marco-c committed May 3, 2020
1 parent 40f1edf commit d8ee93e
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

0 comments on commit d8ee93e

Please sign in to comment.