Skip to content

Commit 67520af

Browse files
committed
Bug 1486008 [wpt PR 10424] - XMLHttpRequest: response header value containing 0x00, a=testonly
Automatic update from web-platform-testsFetch/XHR: response header value containing 0x00 As discussed in whatwg/xhr#165 these should turn the response into a network error. -- wpt-commits: 3d172bc612e03a896b5611d9e9652f860995feef wpt-pr: 10424 UltraBlame original commit: 0d71b9cb47cea8e9ace98cbffa1585cd9c97c8ca
1 parent 3248fe5 commit 67520af

File tree

3 files changed

+318
-48
lines changed

3 files changed

+318
-48
lines changed

testing/web-platform/meta/MANIFEST.json

+153-1
Original file line numberDiff line numberDiff line change
@@ -2137660,6 +2137660,130 @@ api
21376602137660
/
21376612137661
basic
21376622137662
/
2137663+
header
2137664+
-
2137665+
value
2137666+
-
2137667+
null
2137668+
-
2137669+
byte
2137670+
.
2137671+
any
2137672+
.
2137673+
js
2137674+
"
2137675+
:
2137676+
[
2137677+
[
2137678+
"
2137679+
/
2137680+
fetch
2137681+
/
2137682+
api
2137683+
/
2137684+
basic
2137685+
/
2137686+
header
2137687+
-
2137688+
value
2137689+
-
2137690+
null
2137691+
-
2137692+
byte
2137693+
.
2137694+
any
2137695+
.
2137696+
html
2137697+
"
2137698+
{
2137699+
}
2137700+
]
2137701+
[
2137702+
"
2137703+
/
2137704+
fetch
2137705+
/
2137706+
api
2137707+
/
2137708+
basic
2137709+
/
2137710+
header
2137711+
-
2137712+
value
2137713+
-
2137714+
null
2137715+
-
2137716+
byte
2137717+
.
2137718+
any
2137719+
.
2137720+
serviceworker
2137721+
.
2137722+
html
2137723+
"
2137724+
{
2137725+
}
2137726+
]
2137727+
[
2137728+
"
2137729+
/
2137730+
fetch
2137731+
/
2137732+
api
2137733+
/
2137734+
basic
2137735+
/
2137736+
header
2137737+
-
2137738+
value
2137739+
-
2137740+
null
2137741+
-
2137742+
byte
2137743+
.
2137744+
any
2137745+
.
2137746+
sharedworker
2137747+
.
2137748+
html
2137749+
"
2137750+
{
2137751+
}
2137752+
]
2137753+
[
2137754+
"
2137755+
/
2137756+
fetch
2137757+
/
2137758+
api
2137759+
/
2137760+
basic
2137761+
/
2137762+
header
2137763+
-
2137764+
value
2137765+
-
2137766+
null
2137767+
-
2137768+
byte
2137769+
.
2137770+
any
2137771+
.
2137772+
worker
2137773+
.
2137774+
html
2137775+
"
2137776+
{
2137777+
}
2137778+
]
2137779+
]
2137780+
"
2137781+
fetch
2137782+
/
2137783+
api
2137784+
/
2137785+
basic
2137786+
/
21376632137787
integrity
21376642137788
.
21376652137789
sub
@@ -3888415,6 +3888539,34 @@ api
38884153888539
/
38884163888540
basic
38884173888541
/
3888542+
header
3888543+
-
3888544+
value
3888545+
-
3888546+
null
3888547+
-
3888548+
byte
3888549+
.
3888550+
any
3888551+
.
3888552+
js
3888553+
"
3888554+
:
3888555+
[
3888556+
"
3888557+
9c223740c7807b43a6595ba81ef4f5b3c74c60b4
3888558+
"
3888559+
"
3888560+
testharness
3888561+
"
3888562+
]
3888563+
"
3888564+
fetch
3888565+
/
3888566+
api
3888567+
/
3888568+
basic
3888569+
/
38884183888570
integrity
38884193888571
.
38884203888572
sub
@@ -4411345,7 +4411497,7 @@ htm
44113454411497
:
44113464411498
[
44113474411499
"
4411348-
466b0d977cc6cdba12190a27dfe42e6452ea98d8
4411500+
84f2fc8582127b9a8e271887d420b3ea7a87696a
44113494411501
"
44113504411502
"
44113514411503
testharness
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
promise_test
2+
(
3+
t
4+
=
5+
>
6+
{
7+
return
8+
promise_rejects
9+
(
10+
t
11+
new
12+
TypeError
13+
(
14+
)
15+
fetch
16+
(
17+
"
18+
.
19+
.
20+
/
21+
.
22+
.
23+
/
24+
.
25+
.
26+
/
27+
xhr
28+
/
29+
resources
30+
/
31+
parse
32+
-
33+
headers
34+
.
35+
py
36+
?
37+
my
38+
-
39+
custom
40+
-
41+
header
42+
=
43+
"
44+
+
45+
encodeURIComponent
46+
(
47+
"
48+
x
49+
\
50+
0x
51+
"
52+
)
53+
)
54+
)
55+
;
56+
}
57+
"
58+
Ensure
59+
fetch
60+
(
61+
)
62+
rejects
63+
null
64+
bytes
65+
in
66+
headers
67+
"
68+
)
69+
;

0 commit comments

Comments
 (0)